]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Disallow use of undocumented snapshot delimiters
[ps-cgit] / shared.c
index c5c4b00e905dc1af28dff362f4874b8546aaa35c..1f6310a17e689759c27192ac2f9bbe61bbe5b260 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -405,7 +405,7 @@ void cgit_diff_commit(struct commit *commit, filepair_fn fn, const char *prefix)
 int cgit_parse_snapshots_mask(const char *str)
 {
        const struct cgit_snapshot_format *f;
-       static const char *delim = " \t,:/|;";
+       static const char *delim = " ";
        int tl, sl, rv = 0;
 
        /* favor legacy setting */