Added commment

This commit is contained in:
Your Name
2020-01-30 18:19:44 -05:00
parent b05df8778e
commit 99137de797
2 changed files with 2 additions and 2 deletions

View File

@@ -203,6 +203,7 @@ void UrlSynchronization::start() {
const size_t lastSlash = url.find_last_of('/');
std::string lastPartOfUrl = url.substr(lastSlash + 1);
// We can not create filenames with questionmarks
lastPartOfUrl.erase(std::remove(lastPartOfUrl.begin(), lastPartOfUrl.end(), '?'), lastPartOfUrl.end());
std::size_t foundExt = lastPartOfUrl.find(ext);