Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Handler: Urldecode the requested path #1228

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

adamziel
Copy link
Collaborator

Applies decodeURIComponent() to dispatched paths in PHPRequestHandler.

It solves the following problem: If you try to upload a file with dots followed by spaces in the filename it won't be recognized and the file will not be uploaded.

Closes #1202

Testing instructions

Applies decodeURIComponent() to dispatched paths in PHPRequestHandler.

It solves the following problem: If you try to upload a file with dots followed by spaces in the filename it won't be recognized and the file will not be uploaded.

Closes #1202

 ## Testing instructions

* Go through steps from #1202
* Confirm the unit tests pass
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Browser labels Apr 11, 2024
@adamziel adamziel merged commit 7d51a7c into trunk Apr 11, 2024
4 of 5 checks passed
@adamziel adamziel deleted the fix-routing-to-urlencoded-paths branch April 11, 2024 22:02
Copy link
Collaborator

@sejas sejas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing it! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Browser [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem uploading files with invalid filenames
2 participants