Skip to content

Skybrud.Essentials.Http v1.0.3

Compare
Choose a tag to compare
@abjerner abjerner released this 01 Mar 08:58

Installation

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.