"maximum recursion depth exceeded" in make_URL_secure()
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ain't No Wiki | Status tracked in Trunk | |||||
Stable |
Fix Released
|
Low
|
Unassigned | |||
Trunk |
Fix Released
|
Low
|
Hasenkopf, Andreas |
Bug Description
Even if never encountered during testing, Google bot can cause a RuntimeError on the page /users/login:
Traceback (most recent call last):
File "/usr/local/
response = wrapped_
File "/usr/local/
response = view_func(request, *args, **kwargs)
File "/home/
return view_func(request, *args, **kwargs)
File "/home/
},request,
File "/home/
return make_URL_
[...]
File "/home/
if not getattr(
RuntimeError: maximum recursion depth exceeded
<WSGIRequest
path:/users/login/,
GET:<QueryDict: {u'/users/login/': [u'/wiki/
POST:<QueryDict: {}>,
[...]
'QUERY_STRING': '/users/
[...]
'SCRIPT_URI': 'https:/
'SERVER_NAME': 'www.example.com',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/users/
Related branches
Changed in aintnowiki: | |
milestone: | 1.0 → none |
Fixed regular expression in function make_URL_secure() to also identify URLS starting with "//".