Replies: 1 comment 1 reply
-
@hedgehog90 I've uploaded a file with single quotes on the demo site and it doesn't seem to be a problem. Is something working in your server environment that escapes single quotes? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions