|
[Webware-checkins] r5814 - Webware/trunk/WebKit
From: <updates@we...> - 2006-10-17 22:51
|
Author: chrisz
Date: Tue Oct 17 16:50:40 2006
New Revision: 5814
Modified:
Webware/trunk/WebKit/ServletFactory.py
Log:
Using psp-handler with PSP pages outside any Webware context did not work (bug report by Fionn Behrens).
Modified: Webware/trunk/WebKit/ServletFactory.py
==============================================================================
--- Webware/trunk/WebKit/ServletFactory.py (original)
+++ Webware/trunk/WebKit/ServletFactory.py Tue Oct 17 16:50:40 2006
@@ -115,7 +115,7 @@
# There is no context, so import the module standalone
# and give it a unique name:
- if fullname == None:
+ if not fullname or not path.startswith(contextPath):
remainder = serverSidePathToImport
fullmodname = remainder.replace(
'\\', '_').replace('/', '_').replace('.', '_')
|
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] r5814 - Webware/trunk/WebKit | <updates@we...> |