Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 18805] Problem Obtaining Files Named with ASCII Special Characters

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Nov 2, 2009, 1:49 PM

Post #1 of 2 (93 views)
Permalink
[Bug 18805] Problem Obtaining Files Named with ASCII Special Characters

https://issues.apache.org/bugzilla/show_bug.cgi?id=18805

Nick Kew <nick[at]webthing.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO

--- Comment #3 from Nick Kew <nick[at]webthing.com> 2009-11-02 13:49:17 UTC ---
Works fine for me on *X platform.

That leads me to three hypotheses:
(1) There was an issue, but it's now fixed.
(2) There is an issue, but it's platform-specific.
(3) The issue is a misunderstanding of character encoding issues: Apache
translated the filename correctly, but the filesystem entry isn't what the
reporter thinks.

I expect everyone has dismissed it as (3) in the past. That's my inclination
too, unless someone has evidence to the contrary.

Can someone confirm if it's fixed, or if it "works" for you on some platforms
but not others?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org


bugzilla at apache

Nov 2, 2009, 3:55 PM

Post #2 of 2 (89 views)
Permalink
[Bug 18805] Problem Obtaining Files Named with ASCII Special Characters [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=18805

Nick Kew <nick[at]webthing.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |WORKSFORME

--- Comment #4 from Nick Kew <nick[at]webthing.com> 2009-11-02 15:55:37 UTC ---
Following up to this 'cos I got email after my recent update, and the reply
might be of interest to others reading this report.

> 2) Now, with any browser anywhere, request http://hostname/joaquín.jpg.

That would need to be http://localhost/joaqu%C3%ADn.html

Other encodings would fail on a utf-8 platform.

> The browser will "do the right thing" as per the spec : any character in that
> URL that is not a member of the US-ASCII character set (nor forbidden,
> reserved, etc) will be escaped as %xy, before the request is sent to the httpd
> server.
> 3) you will get a 403 Forbidden answer from Apache (2.2.9, Win32).

Haven't confirmed, but I expect that's what happens when you send something in
an encoding that can't legitimately map to your filesystem, and it looks like a
cracking attempt.

Come to think of it, that looks like the problem with the OP too. I'll close
this, and suggest that anyone who wants to re-open provide detail that there is
an issue other than inconsistent encoding on some platform. I guess
"worksforme" covers both the cases of Invalid and Fixed.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.