1.1 --- a/README.txt Mon Aug 22 11:49:11 2005 +0000
1.2 +++ b/README.txt Mon Aug 22 16:44:17 2005 +0000
1.3 @@ -65,8 +65,8 @@
1.4 path info not represented in the current virtual path info.
1.5 Added "pass through" behaviour to ResourceMap.MapResource (prompted by a patch
1.6 from Scott Robinson).
1.7 -Changed the ResourceMap.MapResource class to provide the empty string as the
1.8 -resource name where the virtual path info is only one component in length.
1.9 +Fixed ResourceMap.MapResource to handle non-existent resources properly (where
1.10 +the virtual path info is only one component in length).
1.11 Added a convenience method to Transaction for the decoding of path values and
1.12 the production of Unicode objects - see the get_readable_path method.
1.13
2.1 --- a/WebStack/Resources/ResourceMap.py Mon Aug 22 11:49:11 2005 +0000
2.2 +++ b/WebStack/Resources/ResourceMap.py Mon Aug 22 16:44:17 2005 +0000
2.3 @@ -102,7 +102,8 @@
2.4 elif self.directory_redirects:
2.5 self.send_redirect(trans)
2.6 else:
2.7 - name = ""
2.8 + self.send_error(trans)
2.9 + return
2.10
2.11 # Get the mapped resource.
2.12