Fix Url relative constructor.

Actually get the query from the base URL.
This commit is contained in:
Adrien Destugues 2014-06-04 08:22:13 +02:00
parent 1db8c51081
commit e29e0a0d2a

View File

@ -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());