Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusNi committed Nov 12, 2024
1 parent 0a77a0c commit db7a4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/commonutils/UrlUtils.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ char* UrlEncode(const char* target)
{
memset(encodedTarget, 0, encodedLength);

for (i = 0, j = 0; (i < targetSize) && (j < targetSize); i++)
for (i = 0, j = 0; (i < targetSize) && (j < encodedLength); i++)
{
if (isalnum(target[i]) || ('-' == target[i]) || ('_' == target[i]) || ('.' == target[i]) || ('~' == target[i]))
{
Expand Down

0 comments on commit db7a4d1

Please sign in to comment.