Skip to content

environ['PATH_INFO'] comes distorted when request URI includes './' #290

Open
@GoogleCodeExporter

Description

@GoogleCodeExporter
This bug persists on Apache 2.2/2.4 and mod_wsgi 3.3/3.4

My apache.conf wsgi directive is defined as follow: 
WSGIScriptAlias / "C:/Programs/Apache2.2/conf/bic.wsgi" 

When I accesses the following address: 
http://127.0.0.1/first./second

my wsgi environ values are: 
environ['SCRIPT_NAME']: /first.
environ['PATH_INFO']:   /first/second
environ['REQUEST_URI']: /first./second 

'.' is omitted from the PATH_INFO and for some reason SCRIPT_NAME is not blank.

Bugfix needed :)

Original issue reported on code.google.com by [email protected] on 13 Feb 2013 at 4:06

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions