Skip to content
Snippets Groups Projects
Commit ab668b37 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Filenames with '+' characters in them could not be served unless encoded

The requested path was being URL-decoded with unescape(), but that function does a '+' to ' ' (space) conversion.
The '+' to space decoding is supposed to occur for the "query" portion of the URL only, not the "path" portion.
Use the new hex_decode() function instead of unescape() for "path" decoding.
parent 130bdba4
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2344 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment