Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  http client us ascii restriction

Guest
Posted: Tue Jul 04, 2006 9:04 am Reply with quote
Guest
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@udaff:~% 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@goryachev:~% 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>
>
>
> ------------------------------------------------------------------------
>
>
>
>
Post generated from www.trapexit.org
Guest
Posted: Tue Jul 04, 2006 9:09 am Reply with quote
Guest
Bertil Karlsson <bertil.karlsson@ericsson.com> writes:

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

Bertil,

there is also updated patch, please, see
http://www.erlang.org/ml-archive/erlang-patches/200607/msg00000.html.

Thanks for the attention.


--
Igor Goryachev
Yandex development team.
Post generated from www.trapexit.org

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum