Univention Bugzilla – Attachment 7541 Details for
Bug 40914
Problem with leap year
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
40914.patch (text/plain), 973 bytes, created by
Florian Best
on 2016-03-17 13:18 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-03-17 13:18 CET
Size:
973 bytes
patch
obsolete
>diff --git a/management/univention-management-console-frontend/univention-management-console-web-server b/management/univention-management-console-frontend/univention-management-console-web-server >index 5897064..f1e659a 100755 >--- a/management/univention-management-console-frontend/univention-management-console-web-server >+++ b/management/univention-management-console-frontend/univention-management-console-web-server >@@ -672,10 +672,7 @@ class Ressource(object): > # set the cookie once during successful authentication > # force expiration of cookie in 5 years from now on... > # IE does not support max-age >- expires = kwargs.get('expires') >- if expires is None: >- expires = datetime.datetime.now() >- expires = expires.replace(year=expires.year + 4) >+ expires = kwargs.get('expires') or (datetime.datetime.now() + datetime.timedelta(days=5*365)) > cookie = cherrypy.response.cookie > for name, value in cookies: > name = self.suffixed_cookie_name(name)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 40914
: 7541