Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa3ff70

Browse filesBrowse files
jackjansenfhessel
andauthored
Update src/util.cpp
Co-Authored-By: Frank Hessel <frnkhessel@googlemail.com>
1 parent e7eaf28 commit aa3ff70
Copy full SHA for aa3ff70

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/util.cpp

Copy file name to clipboardExpand all lines: src/util.cpp
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.