mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:10:06 +00:00
Fixed issue with NormalizeUrl where whitespace trimming was not
happening on non-local files, and added test cases.
This commit is contained in:
parent
b5ac254259
commit
b13d2106d4
3 changed files with 43 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ std::string NormalizeUrl(const std::string& urlString)
|
|||
}
|
||||
else
|
||||
{
|
||||
normalizedUrl = urlString;
|
||||
normalizedUrl = trimmedUrlString.toStdString();
|
||||
}
|
||||
|
||||
return normalizedUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue