Skip to content

Storage::delete not work because Util::normalizePath remove first backslash #20202

@1dnmr

Description

@1dnmr
  • Laravel Version: 5.4.27
  • PHP Version: 5.6.30

Description:

When call Storage::delete() it calls inside Util::normalizePath which return path without staring backslash.

Steps To Reproduce:

If is pass something like "\Users\username..." normalizePath returns "Users\username..." and Storage::delete() not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions