http client us ascii restriction

Bertil Karlsson bertil.karlsson@REDACTED
Tue Jul 4 10:57:59 CEST 2006


Igor,

thanks for notifying of this bug. I will add your patch to the next 
release of inets.

regards

Bertil

Igor Goryachev wrote:
> Hello.
>
> I have met some US ASCII restrictions in erlang's http client:
>
> igor@REDACTED:~% erl
> Erlang (BEAM) emulator version 5.5 [source] [64-bit] [async-threads:0] [kernel-poll:false]
>
> Eshell V5.5  (abort with ^G)
> 1> http_uri:parse("http://www.google.com/search?q=%D1%82%D0%B5%D1%81%D1%82").
> {error,no_query}
> 2>
>
> I have made a trivial patch that fixes this misbehaviour (attached in this message):
>
> goryachev@REDACTED:~% erl
> Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [kernel-poll:false]
>
> Eshell V5.5  (abort with ^G)
> 1> http_uri:parse("http://www.google.com/search?q=%D1%82%D0%B5%D1%81%D1%82").
> {http,"www.google.com",80,"/search","?q=%d1%82%d0%b5%d1%81%d1%82"}
> 2> 
>
>   
> ------------------------------------------------------------------------
>
>
>
>   



More information about the erlang-questions mailing list