[PATCH] CPLEscapeString (CPLES_URL) encoding some characters unnecessarily
|Reported by:||tastle||Owned by:||warmerdam|
CPLEscapeString is encoding characters for URLs which do not need to be encoded.
This can be problematic for web servers that (for reasons unknown) don't or can't perform URL decoding.
From RFC1738: <quote>
Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
reserved characters used for their reserved purposes may be used unencoded within a URL.
I propose that the above list of characters are not encoded in CPLEscapeString for CPLES_URL.
Change History (12)
comment:9 Changed 2 years ago by
|Summary:||CPLEscapeString (CPLES_URL) encoding some characters unnecessarily → [PATCH] CPLEscapeString (CPLES_URL) encoding some characters unnecessarily|