Skip to content

Can't upload file with single quotes #3285

Description

@twilson90

Simply get a generic error 'Upload error.'

The problem occurs in protected function upload($args) in elFinder.class.php.
The $chunk variable (containing the filename) is escaped with backslashes, and then when it checks the chunk on line 3186 it returns the error.

This is evident on my Windows testing machine and my remote Ubuntu 20.04 machine, both with PHP 7.4.16

So why are backslashes being added to the $chunk variable?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions