URIParser.Unescape
Thomas Kurz via fpc-pascal <[email protected]> Tue, 26 Aug 2025 11:23:57 +0200
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have seen that the `URIParser.Unescape` function handles only percent encoding. But it is called within the `ParseURI` function to decode the parameters:
if Decode then
Result.Params:=Unescape(Result.Params);
So I wonder whether it'd have to decode plus signs to spaces, as well? At least I stumbled upon this problem after having received an URL parameter in the style `param+name=param+value`.
Thanks,
Thomas
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal