Commit e6b1724c authored by Harald Sitter's avatar Harald Sitter 🐰

smb: unbreak space in workgroup support

we cannot run the constructed urls through qurl. they aren't valid urls
but samba "pseudo" urls which may contain spaces in hostnames (which is
in fact the workgroup name)

unbreaks smburltest
parent e2dc8491
......@@ -145,7 +145,7 @@ void SMBUrl::updateCache()
if (!sambaUrl.fragment().isEmpty()) {
url += '#' + sambaUrl.fragment();
}
m_surl = QUrl(url).toString(QUrl::PrettyDecoded).toUtf8();
m_surl = url.toUtf8();
}
m_type = SMBURLTYPE_UNKNOWN;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment