Package: websvn
Version: 1.61-8
Tags: patch

When configuring websvn to use MultiViews and wsvn, I ran into a problem
where the generated urls weren't path relative (so http://projectname/
instead of http://servername/projectname/...).

I don't know what kind of weirdness I must have on my server that I'm
the only one to notice this, but it was easily fixed by the attached 
patch which should be safe in any case.

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<[EMAIL PROTECTED]>
--- include/configclass.inc.orig        2005-01-17 11:20:47.000000000 -0600
+++ include/configclass.inc     2005-01-17 11:22:53.000000000 -0600
@@ -340,7 +340,7 @@
       if ($this->multiViews)
       {
          // Remove the .php
-         $base = substr($base, 0, -4);
+        if (substr($base, 0, -4) == ".php" ) $base = substr($base, 0, -4);
          
          if ($path && $path{0} != "/") $path = "/".$path;
                

Attachment: signature.asc
Description: Digital signature

Reply via email to