Update of /cvsroot/sandweb/sandweb/lib/SandWeb
In directory usw-pr-cvs1:/tmp/cvs-serv25279/lib/SandWeb
Modified Files:
Browse.pm
Log Message:
finally tracked down that stupid '//' bug, now I can take that workaround
out of CVS.pm! It only happened when you clicked the "/" in the location
field instead of clicking browse in the sidebar. fixed.
Index: Browse.pm
===================================================================
RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Browse.pm,v
retrieving revision 1.19
retrieving revision 1.20
diff -U2 -r1.19 -r1.20
--- Browse.pm 2001/11/24 13:20:43 1.19
+++ Browse.pm 2001/11/27 00:31:11 1.20
@@ -47,4 +47,8 @@
my $location;
+ if ($path eq '/') {
+ $path = '';
+ }
+
if ($path) {
# Security check, no "/.." allowed mister!
|