Make Idn.GetAscii compatible with Windows (#24443)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Tue, 7 May 2019 22:35:46 +0000 (15:35 -0700)
committerGitHub <noreply@github.com>
Tue, 7 May 2019 22:35:46 +0000 (15:35 -0700)
commit8b6a69e71d36c26e378460c4e586593efe0b13da
tree34f4646032352cc4e8348792bef154dd3c3d3125
parentbd7f8e7435b8cba0cca3a198f15fdc2e4764c2fc
Make Idn.GetAscii compatible with Windows (#24443)

GetAscii on Windows ignore if the uri has hyphens in the third and fourth places. We relaxing this on Linux too for the sake of the consistent behavior. This issue was causing some problems with the http stack.
src/corefx/System.Globalization.Native/pal_idna.c