Added: missing url decode

pull/193/head
Karai Csaba 9 years ago committed by Thorsten von Eicken
parent dfe60372a5
commit 79c8dc8c4d
  1. 4
      web-server/web-server.c

@ -193,7 +193,9 @@ int ICACHE_FLASH_ATTR WEB_CgiJsonHook(HttpdConnData *connData)
{
*val = 0;
char * name = line;
char * value = val+1;
int vblen = os_strlen(val+1) * 2;
char value[vblen];
httpdUrlDecode(val+1, strlen(val+1), value, vblen);
int namLen = os_strlen(name);
int valLen = os_strlen(value);

Loading…
Cancel
Save