Commit 90360c44 authored by Matthew Wilkes's avatar Matthew Wilkes

LP #1103641: encodeUrl should not be publishable

parent 23cd3c2c
......@@ -265,8 +265,6 @@ class BrowserIdManager(Item, Persistent, Implicit, RoleManager, Owned, Tabs):
security.declareProtected(ACCESS_CONTENTS_PERM, 'encodeUrl')
def encodeUrl(self, url, style='querystring', create=1):
""" See IBrowserIdManager.
"""
bid = self.getBrowserId(create)
if bid is None:
raise BrowserIdManagerErr('There is no current browser id.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment