Commits

Grigoriy Petukhov  committed 207ecfc

fix urllib quote bug

  • Participants
  • Parent commits aab9e0c

Comments (0)

Files changed (1)

File sape/util.py

             self.links_delimiter = self.links['__sape_delimiter__']
 
         uri_links = self.links.get(urllib.quote(
-            self.request_uri.encode('utf-8')), None)
+            self.request_uri.encode('utf-8'), safe='/?&='), None)
 
         if isinstance(uri_links, dict):
             self.links_page = uri_links.values()