appy.gen: bugfix while searching the catalog based on object state; added XHTML cleanup code; added String.generatePassword; bugfix: mising HTTP header while sending some responses back to Apache (caused a bug in ckeditor image upload); bugfix while importing images via an image resolver (Zope behind a reverse proxy).

This commit is contained in:
Gaetan Delannay 2012-04-25 16:21:23 +02:00
parent d52e601ea8
commit 9b8064b0cd
5 changed files with 26 additions and 8 deletions

View file

@ -59,6 +59,7 @@ def onDelSession(sessionObject, container):
# The request comes from a guy whose session has expired.
resp = rq.RESPONSE
resp.expireCookie('__ac', path='/')
resp.setHeader('Content-Type', 'text/html')
resp.write('<center>For security reasons, your session has ' \
'expired.</center>')