mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1162690 - Remove malformed uri warning in nsURLParser::ParseURL r=mcmanus
This commit is contained in:
parent
2697a44ccc
commit
0d76e1473e
@ -119,7 +119,6 @@ nsBaseURLParser::ParseURL(const char *spec, int32_t specLen,
|
||||
// spec = <scheme>:<path-no-slashes>
|
||||
//
|
||||
if (!net_IsValidScheme(spec, colon - spec) || (*(colon+1) == ':')) {
|
||||
NS_WARNING("malformed uri");
|
||||
return NS_ERROR_MALFORMED_URI;
|
||||
}
|
||||
SET_RESULT(scheme, offset, colon - spec);
|
||||
@ -577,7 +576,6 @@ nsAuthURLParser::ParseServerInfo(const char *serverinfo, int32_t serverinfoLen,
|
||||
break;
|
||||
case ' ':
|
||||
// hostname must not contain a space
|
||||
NS_WARNING("malformed hostname");
|
||||
return NS_ERROR_MALFORMED_URI;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user