dragana-r / autoit-winhttp

Automatically exported from code.google.com/p/autoit-winhttp
70 stars 20 forks source link

__WinHttpURLEncode, "[", "]", "%", and " " do not appear to get encoded #19

Open rcmaehl opened 2 years ago

rcmaehl commented 2 years ago

Was looking into using this UDF in one of my current applications.

Looking into __WinHttpURLEncode it appears that "[", "]", "%", and " " do not get encoded

https://github.com/dragana-r/autoit-winhttp/blob/e82bc44096101a27b77f0c03421e82f0d4741a59/WinHttp.au3#L2054

This violates RFC 3986, Section 2.2. I can make a pull request if needed.