Fix Url relative constructor.
Actually get the query from the base URL.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user