Skip to content

Commit 54d722f

Browse files
authored
Fix casing in Url encode (#369)
***NO_CI***
1 parent 3982a7a commit 54d722f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nanoFramework.System.Net.Http/Http/System.Net.HttpUtility.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ private static char IntToHex(int n)
147147
{
148148
return (char)(n + 0x30);
149149
}
150-
return (char)((n - 10) + 0x61);
150+
151+
return (char)((n - 10) + 0x41);
151152
}
152153

153154
private static bool IsSafe(char ch)

0 commit comments

Comments
 (0)