Skip to content

Commit aa3ff70

Browse files
jackjansenfhessel
andauthored
Update src/util.cpp
Co-Authored-By: Frank Hessel <[email protected]>
1 parent e7eaf28 commit aa3ff70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ std::string urlDecode(std::string input) {
6565
std::size_t idxFound = input.find('+');
6666
while (idxFound != std::string::npos) {
6767
input.replace(idxFound, 1, 1, ' ');
68-
idxFound = input.find('+', idxFound);
68+
idxFound = input.find('+', idxFound + 1);
6969
}
7070
// Now replace percent-escapes
7171
idxFound = input.find('%');

0 commit comments

Comments
 (0)