cubicweb/pyramid/core.py
changeset 11929 fcbd6b251d81
parent 11913 4516c3956d46
parent 11925 b75fc687c730
child 11930 83a921bae21c
--- a/cubicweb/pyramid/core.py	Mon Jan 23 15:35:19 2017 +0100
+++ b/cubicweb/pyramid/core.py	Fri Jan 27 16:26:09 2017 +0100
@@ -157,7 +157,7 @@
                 self.form[param] = val
 
     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