Re: Bug Report
Laurent Simonneau (l.simonneau@atrid.fr)
11 Apr 2001 09:32:28 +0200
Thank you very much.
Laurent.
On 10 Apr 2001 10:06:53 -0700, Gisle Aas wrote:
> Bjoern Hoehrmann <derhoermi@gmx.net> writes:
>
> > * Laurent Simonneau wrote:
> > >Why the character '|' is converted to '%7C' in URLs ?
> >
> > RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt) defines it as an unwise
> > character, they must be escaped in URIs.
> >
> > >Exemple :
> > >libwww-perl send :
> > >
> > >GET http://www.lycos.fr/cgi-bin/nph-bounce?LIA14%7C/service/sms/
> > >HTTP/1.0
> > >
> > >And the server reply a 404 not found error.
> >
> > That's a bug, maybe Lycos people should get better software, libwww-perl
> > behaves correctly.
>
> I agree. LWP should escape '|' by default. If you want to force '|'
> to be a legal URI char you might add these two lines to the top of
> your script:
>
> use URI;
> $URI::uric .= "|";
>
> Regards,
> Gisle
--
---------------------------------
Laurent SIMONNEAU
Atrid
http://www.atrid.fr/accueil/accueil.html
tel : 06.89.94.50.75
---------------------------------