Skip to content

Should wsgi.py unquote path? #177

@asvetlov

Description

@asvetlov

See line https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/wsgi.py#L131
Current code produces error in gunicorn: benoitc/gunicorn#930

IIRC WSGI standard doesn't specifies path unquoting. WSGI library implementations unquotes param internally assuming environ['PATH_INFO'] is not unquoted string.

Any objections to unquote removing? @fafhrd91 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions