mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
fix bug 43659, URL bar does not accept hexadecimal domain names, r=gagan@netscape.com, a=waterson@mozilla.org
This commit is contained in:
parent
602b139a4a
commit
1a2a5c7fee
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user