Changeset 525f8b67832ba2a3709bb7cad1ea9cb75535090d
- Timestamp:
- 01/08/08 01:38:38
(1 year ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1199777918 -0500
- git-parent:
[25d4a6dae204b0bcadaa36401d773fc9f031ea7d]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1199777918 -0500
- Message:
Fix for config paths with mixed slashes and backslashes on Windows --
need os.path.normpath() here as well as in AnchorItem? handling.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc311886 |
r525f8b6 |
|
| 45 | 45 | container = handler.server.containers[subcname.split('/')[0]] |
|---|
| 46 | 46 | |
|---|
| 47 | | return container['path'] |
|---|
| | 47 | return os.path.normpath(container['path']) |
|---|
| 48 | 48 | |
|---|
| 49 | 49 | def get_local_path(self, handler, query): |
|---|
| … | … | |
| 52 | 52 | container = handler.server.containers[subcname.split('/')[0]] |
|---|
| 53 | 53 | |
|---|
| 54 | | path = container['path'] |
|---|
| | 54 | path = os.path.normpath(container['path']) |
|---|
| 55 | 55 | for folder in subcname.split('/')[1:]: |
|---|
| 56 | 56 | if folder == '..': |
|---|