Re: URL encodig - percent encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 6, 2009 at 5:27 AM, Carlos Alarcón <carlos.alarcon@xxxxxxxxx> wrote:
> Hi, I am facing a problem which I haven't found any help over Internet
> (maybe I did the wrong search):
> I have:Apache/2.2.3 (CentOS), Centos 5.
> I am trying to access specials URLs ( containing non ASCII chars)
>
> So my browser (MZ or IE) converts URL http://rewrite.tyven/eñe.html into
> http://rewrite.tyven/e%C3%B1e.html  (which is ok, UTF-8 percent encoding
> following RFC3986).
> My apache gets that but seems to interpret that as ISO8859-1 so it tries to
> retrieve file: eñe.html

On unix, apache doesn't interpret it at all. It looks in the
filesystem for a file with the name containing the same bytes.

In your filesystem, you can view the bytes your filename was created
with via e.g.
 ls -1 e*.html| od -t x1 -c

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux