Skip to content

Instantly share code, notes, and snippets.

View moskalenko's full-sized avatar

Oleksandr Moskalenko moskalenko

View GitHub Profile
diff --git a/lib/galaxy/web/framework/base.py b/lib/galaxy/web/framework/base.py
index edf1b22b97..9458f0911c 100644
--- a/lib/galaxy/web/framework/base.py
+++ b/lib/galaxy/web/framework/base.py
@@ -388,7 +388,7 @@ class Request(webob.Request):
@lazy_property
def cookies(self):
- return get_cookies(self.environ)
+ return get_cookies({"HTTP_COOKIE": "; ".join([x.strip() for x in self.environ.get("HTTP_COOKIE").split('; ') if x.startswith('galaxy')])})