fix bug 43659, URL bar does not accept hexadecimal domain names, r=gagan@netscape.com, a=waterson@mozilla.org

This commit is contained in:
andreas.otte%primus-online.de 2000-07-01 06:29:13 +00:00
parent 602b139a4a
commit 1a2a5c7fee

View File

@ -165,7 +165,7 @@ nsURLUnescape(char* str, char **result)
return NS_OK;
}
register char *src = str;
static const char hexChars[] = "0123456789ABCDEF";
static const char hexChars[] = "0123456789ABCDEFabcdef";
int len = PL_strlen(str);
*result = (char *)nsMemory::Alloc(len + 1);