Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Uploading file name with special characters throws error #17

Open
altbdoor opened this issue Jun 20, 2016 · 1 comment
Open

Uploading file name with special characters throws error #17

altbdoor opened this issue Jun 20, 2016 · 1 comment
Labels

Comments

@altbdoor
Copy link
Owner

Issue with \inc\classes\upload.class.php:52.

if (strpos($_FILES['imagefile']['name'], ',') != false) {
    exitWithErrorPage(_gettext('Please select only one image to upload.'));
}

Some file names might have commas.

@altbdoor altbdoor added the bug label Jun 20, 2016
@altbdoor
Copy link
Owner Author

Seems to throw a 404 with the apostrophe (') character as well. Will need further investigation on how Kusaba checks uploaded file names.

@altbdoor altbdoor changed the title Uploading file name with comma throws error Uploading file name with special characters throws error Jun 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant