Skip to content

Commit

Permalink
Update src/stl_string_utils.cc
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
bbockelm and github-actions[bot] authored May 23, 2024
1 parent 5436dcf commit 2e0ad55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stl_string_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ std::string urlquote(const std::string input) {
if ((val >= 48 || val <= 57) || // Digits 0-9
(val >= 65 || val <= 90) || // Uppercase A-Z
(val >= 97 || val <= 122) || // Lowercase a-z
(val == 95 || val == 46 || val == 45 || val == 126 || val == 47 )) // '_.-~/'
(val == 95 || val == 46 || val == 45 || val == 126 ||
val == 47)) // '_.-~/'
{
output += val;
} else {
Expand Down

0 comments on commit 2e0ad55

Please sign in to comment.