Browse code

Disallow user created repo subdirectories

Robert Cranston authored on 17/11/2019 11:03:51
Showing 1 changed files

... ...
@@ -64,7 +64,7 @@
64 64
         path: "{{ gitolite_user_home }}/.gitolite/conf/gitolite.conf"
65 65
         marker: "# {mark} User created repos"
66 66
         block: |
67
-          repo CREATOR/..*
67
+          repo CREATOR/[^/]+
68 68
               C = @all
69 69
               RW+ = CREATOR
70 70
               RW = WRITERS