Changeset 1776
- Timestamp:
- 10/27/07 12:30:54
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.1/cherrypy/lib/filter/sessionfilter.py
r741 r1776 333 333 fileName = self.SESSION_PREFIX + id 334 334 filePath = os.path.join(storagePath, fileName) 335 if not os.path.normpath(filePath).startswith(storagePath): 336 raise cherrypy.HTTPError(400, "Invalid session id in cookie.") 335 337 return filePath 336 338

