Il 22/05/2018 22:12, goldsi...@gmx.de ha scritto:
On 22.05.2018 11:11, Giuseppe Modugno wrote:
I'm not sure. Is there a decoding function for URI?
I mean, a function that converts %20 and similar escape codes in the
corresponding ASCII char.
Our httpd does not (yet?) support this. If you real
On 22.05.2018 11:11, Giuseppe Modugno wrote:
I'm not sure. Is there a decoding function for URI?
I mean, a function that converts %20 and similar escape codes in the
corresponding ASCII char.
Our httpd does not (yet?) support this. If you really need spaces in
URLs on your server, you need to
I guess you refer to "url_decode".
Here's the one I used in my web server:
#define TOUPPER(c) (((c>='a')&&(c<='z'))? (c-('a'-'A')):(c))
#define HEXNUMBER(c) c)<'0')||((c)>'F')||(((c)>'9')&&((c)<'A')))? 0
:((c)>='
A')?((c)-('0'+7)):((c)-'0'))
void cgi_urldecode(char *text)
{
char *ptr = text;
I'm not sure. Is there a decoding function for URI?
I mean, a function that converts %20 and similar escape codes in the
corresponding ASCII char.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users