Webob url decode the path content

Issue #17 wontfix
Anonymous created an issue

Hello,

The webob framework url decodes the entire url even the path content. See the following code example to understand: from webob import Request req = Request.blank('/profile/myurl%2Fpath/') req.url = 'http://localhost/profile/myurl/path/'

The correct value of the req.url should be 'http://localhost/profile/myurl%2Fpath/'

Thanks. Alexandre Vivien

Comments (4)

  1. Sergey Schetinin

    Right, I wrote a test case:

    from webob import *
    from nose.tools import eq_
    path = '/a%2Fb/'
    eq_(Request.blank(path).path_info, path)
    

    However, unless you provide a patch to correct that, this is a wontfix.

  2. Log in to comment