cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/server.c


From: Mark D . Baushke
Subject: [Cvs-cvs] Changes to ccvs/src/server.c
Date: Wed, 30 Nov 2005 14:04:21 -0500

Index: ccvs/src/server.c
diff -u ccvs/src/server.c:1.452 ccvs/src/server.c:1.453
--- ccvs/src/server.c:1.452     Tue Oct 18 17:31:14 2005
+++ ccvs/src/server.c   Wed Nov 30 19:04:19 2005
@@ -802,6 +802,19 @@
        return;
     }
 
+    /* We need to check :ext: server here, :pserver: checks happen below. */
+    if (root_allow_used() && !root_allow_ok (arg)
+# ifdef AUTH_SERVER_SUPPORT
+       && Pserver_Repos == NULL
+# endif
+       )
+    {
+       if (alloc_pending (80 + strlen (arg)))
+           sprintf (pending_error_text,
+                    "E Bad root %s", arg);
+       return;
+    }
+
     /* Set original_parsed_root here, not because it can be changed in the
      * client Redirect sense, but so we don't have to switch in code that
      * runs in both modes to decide which to print.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]