mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Fix hostname verification code.
[ From bug 1123 attachment 569. --KON ]
This commit is contained in:
parent
ba9bbc9e46
commit
bc3fcb4696
@ -97,7 +97,7 @@ match_hostname_pattern(const unsigned char *hostname,
|
||||
* '*' must not match such characters.
|
||||
* Do the same if invalid UTF-8 is found.
|
||||
* Cast away const. */
|
||||
uni = utf8_to_unicode((unsigned char **) hostname,
|
||||
uni = utf8_to_unicode((unsigned char **) &hostname,
|
||||
hostname_end);
|
||||
if (uni == 0x002E
|
||||
|| uni == 0x3002
|
||||
|
Loading…
Reference in New Issue
Block a user