Changeset 1775
- Timestamp:
- 10/27/07 12:23:47
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/filters/sessionfilter.py
r1585 r1775 348 348 fileName = self.SESSION_PREFIX + id 349 349 file_path = os.path.join(storage_path, fileName) 350 if not os.path.normpath(file_path).startswith(storage_path): 351 raise cherrypy.HTTPError(400, "Invalid session id in cookie.") 350 352 return file_path 351 353

