FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update src/util.cpp · luc-github/esp32_https_server@aa3ff70 · GitHub

Repository navigation

Commit aa3ff70

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL