Skip to content

Commit 193d02c

Browse files
committed
Merge pull request #30 from unosquare/mariodivece-patch-1
Update Extensions.cs #29
2 parents cb6fab1 + 4abe6f4 commit 193d02c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Unosquare.Labs.EmbedIO/Extensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public static Dictionary<string, string> RequestFormData(this HttpListenerContex
281281

282282
return stringData.Split('&')
283283
.ToDictionary(c => c.Split('=')[0],
284-
c => Uri.UnescapeDataString(c.Split('=')[1]));
284+
c => WebUtility.UrlDecode(c.Split('=')[1]));
285285
}
286286
}
287287
}
@@ -336,4 +336,4 @@ public static string ComputeMd5Hash(string input)
336336
return ComputeMd5Hash(Encoding.ASCII.GetBytes(input));
337337
}
338338
}
339-
}
339+
}

0 commit comments

Comments
 (0)