Skip to content

Commit

Permalink
Fix dnmfarrell#1 issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive authored Jan 1, 2022
1 parent 21ad52e commit a5bae4e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/uri_encode.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ size_t uri_decode (const char *src, const size_t len, char *dst)
}
if (copy_char)
{
dst[j] = src[i];
if (src[i] == '+') {
dst[j] = ' ';
} else {
dst[j] = src[i];
}
i++;
j++;
}
Expand Down

0 comments on commit a5bae4e

Please sign in to comment.