E&S CVS Commit: PEAK - Numerous path management fixes and tests, such as needing to clone parent

pje at eby-sarna.com pje at eby-sarna.com
Wed Sep 29 15:41:00 EDT 2004

Module Name:	PEAK
Committed By:	pje
Date:		Wed Sep 29 19:40:44 UTC 2004

Modified Files:
	PEAK/src/peak/web: environ.py interfaces.py publish.py
	PEAK/src/peak/web/tests: test_environ.py

Log Message:
Numerous path management fixes and tests, such as needing to clone parent
traversal contexts when the rootURL is changed, and corrected default
values for SCRIPT_NAME and PATH_INFO.  Also, add a 'shift()' method to
ITraversalContext, that shifts a path component from PATH_INFO to
SCRIPT_NAME, with extensive test cases to ensure proper handling of
empty path parts, '.', '..', and so on.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/peak/web/environ.py
cvs rdiff -r1.30 -r1.31 PEAK/src/peak/web/interfaces.py
cvs rdiff -r1.37 -r1.38 PEAK/src/peak/web/publish.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/web/tests/test_environ.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list