Ok I just commented out the few lines in src/url.c starting at line 309 (#if 
CHECK_HOSTNAMES....)

It works!
Here comes the however:
When using MSIE the hostname points you to the wrong website.
If I disable proxy in MSIE I get to the correct website. There seems to be an encoding 
problem somewhere. I telneted manually to
squid and requested www.jÃrgen.nu in ISO-8859-1 and UTF-8 mode and it worked.
Seems like IE use urlencoding when using proxy, or IE use it all the time ? Is this a 
IE bug or a non-implemented squid feature (and
will it be implemented) ?


Joergen


----- Original Message ----- 
From: "JÃrgen Hovland" <[EMAIL PROTECTED]>
To: "Henrik Nordstrom" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 1:20 AM
Subject: Re: [squid-users] invalid url


> > On Sun, 14 Mar 2004, JÃrgen Hovland wrote:
> >
> > > Hi.
> > > Does anybody know hot to fix squid so it accepts all characters in a hostname ?
> >
> > configure --help
>
> Great I found the parameters.
> I used --disable-hostname-checks and --enable-underscores. I deleted the squid 
> folder (kept squid.conf) and reinstalled.
> However,
> I still get invalid URL http://www.j%C3%B8rgen.nu/ .
> Are there any other parameters I have missed ?
> I am using squid 2.5 stable5.
>
> Cheers
>
> Joergen
>

Reply via email to