Version 1.0.3

Date 2019-03-01 (2,127 days ago)
Downloads 699 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7

#installation">Installation

#changelog">Changelog

  • Using Uri.EscapeDataString is more correct to encode form data (see 06a9ff8)
    The old code used StringUtils.UrlEncode, which is just a wrapper for either HttpUtility.UrlEncode or WebUtility.UrlEncode depending on the target framework. The UrlEncode 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.