Fix the URL max limit in web interface

The web interface has a hardcoded 64 char URL limit, even though the
actual url[] array was increased to 96 chars.  Use sizeof(url) in the
handler instead of a hardcoded number to enable use of all space.
Addresses issue #21 , again.
This commit is contained in:
Earle F. Philhower, III committed 2017-12-22 21:39:13 -08:00
1 parent 4cb8861070
commit e844536251
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ void HandleChangeURL(WiFiClient *client, char *params)
{
char *namePtr;
char *valPtr;
char newURL[64];
char newURL[sizeof(url)];
char newType[4];
newURL[0] = 0;