Fix Url relative constructor.
Actually get the query from the base URL.
This commit is contained in:
parent
1db8c51081
commit
e29e0a0d2a
@ -105,7 +105,7 @@ BUrl::BUrl(const BUrl& base, const BString& location)
|
||||
if (relative.HasRequest())
|
||||
SetRequest(relative.Request());
|
||||
else
|
||||
SetRequest(Request());
|
||||
SetRequest(base.Request());
|
||||
} else {
|
||||
if (relative.Path()[0] == '/')
|
||||
SetPath(relative.Path());
|
||||
|
Loading…
x
Reference in New Issue
Block a user