The '?' should be quoted as '%3F' (urllib.urlquote('?')) or it will be treated
as a query parameter (check request.GET in your view ;))
Matías
Excerpts from yanghq's message of Mon Jan 17 05:59:23 -0200 2011:
> hi,
>
> In urls.py a pattern like this:
> (r'^test/(?P\w{3,4})/(?P.*)$', 'djprj.test
hi,
In urls.py a pattern like this:
(r'^test/(?P\w{3,4})/(?P.*)$', 'djprj.test.views.info'),
In views.py,info defined as follows:
def info(request,protocol='',url=''):
when I access "test/http/bbs.test.com/viewforum.php?f=12"
url is bbs.test.com/viewforum.php,"?f=12" is missin
2 matches
Mail list logo