Skip to content

Encoded file name issues #450

@lvkins

Description

@lvkins

Just an example. I'm having a GIF with the following name on Windows:

http-%2F%2Fcoresites-cdn.factorymedia.com%2Fmpora_new%2Fwp-content%2Fuploads%2F2016%2F05%2FAngry-GIF.gif

You are able to upload it, but then you wont be able to use it, as the file manager wouldn't be able to locate it:

image

File name is not changed after upload, it remains exactly the same on disk but probably due to the encoded url within file name which browser is trying to decode it will mess things up while trying to load.

Solution would be either to remove url encoded characters from name or make it random when url encoded characters detected.

Cheers.

Activity

youchenlee

youchenlee commented on Oct 31, 2017

@youchenlee
Member

lol, I did not expect this kind of file names.
Will take a look soon.
Thank you @pompex

added
bugBehaviors that do not meet expectation.
confirmingChecking if the issue can be reproduced.
WindowsWindows platform specific issues.
and removed
enhancementOptimization for existing features.
on Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsWindows platform specific issues.bugBehaviors that do not meet expectation.confirmingChecking if the issue can be reproduced.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @youchenlee@lvkins@streamtw

        Issue actions

          Encoded file name issues · Issue #450 · UniSharp/laravel-filemanager