Expose should not clear session, was a test, fixes #2257, thanks Martin Mosbeck
This commit is contained in:
@@ -5605,9 +5605,6 @@ class Expose(object):
|
||||
and file creation under `base`.
|
||||
|
||||
"""
|
||||
# why would this not be callable? but otherwise tests do not pass
|
||||
if current.session and callable(current.session.forget):
|
||||
current.session.forget()
|
||||
self.follow_symlink_out = follow_symlink_out
|
||||
self.base = self.normalize_path(
|
||||
base or os.path.join(current.request.folder, 'static'))
|
||||
|
||||
Reference in New Issue
Block a user