Skybrud.Essentials.Http v1.0.3
Installation
Changelog
-
Using
Uri.EscapeDataString
is more correct to encode form data (see 06a9ff8)
The old code usedStringUtils.UrlEncode
, which is just a wrapper for eitherHttpUtility.UrlEncode
orWebUtility.UrlEncode
depending on the target framework. TheUrlEncode
methods are not sufficient for encoding form data.The fix was to replace
StringUtils.UrlEncode
withUri.EscapeDataString
, as the latter properly handles encoding form data.