branch | 3.24 |
changeset 11925 | b75fc687c730 |
parent 11824 | d7ecf6dab085 |
child 11929 | fcbd6b251d81 |
--- a/cubicweb/pyramid/core.py Fri Jan 13 11:36:51 2017 +0100 +++ b/cubicweb/pyramid/core.py Wed Jan 18 16:50:48 2017 +0100 @@ -161,7 +161,7 @@ return self._request.scheme == 'https' def relative_path(self, includeparams=True): - path = self._request.path[1:] + path = self._request.path_info[1:] if includeparams and self._request.query_string: return '%s?%s' % (path, self._request.query_string) return path