mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Make sure port's just 80, before removing in http case.
svn path=/trunk/netsurf/; revision=13106
This commit is contained in:
parent
ea761e16e6
commit
d64e09aef7
@ -857,6 +857,8 @@ static nserror nsurl__create_from_section(const char const *url_s,
|
||||
strncmp(lwc_string_data(
|
||||
url->scheme), "http",
|
||||
SLEN("http")) == 0 &&
|
||||
length -
|
||||
(colon - pegs->at + 1) == 2 &&
|
||||
*sec_start == '8' &&
|
||||
*(sec_start + 1) == '0') {
|
||||
/* Scheme is http, and port is default
|
||||
|
Loading…
Reference in New Issue
Block a user