cheecheeo / haskell-cgi

A library for writing CGI programs
Other
5 stars 9 forks source link

Fix an issue with decoding non-ASCIIs in QUERY_STRING. #24

Closed ninegua closed 8 years ago

ninegua commented 8 years ago

Function unEscapeString in recent network packages will decode urlencoded byte sequences using UTF-8 decoding, so the result from urlDecode will be Unicode strings instead of raw bytes. This patch is to fix issues caused by this.

cheecheeo commented 8 years ago

Fixed in 7f4ad94aaa97468b7e39925b8040781074ba7414