]> git.ipfire.org Git - thirdparty/squid.git/blob - test-suite/squidconf/regressions-3.4.0.1.conf
Source Format Enforcement (#1234)
[thirdparty/squid.git] / test-suite / squidconf / regressions-3.4.0.1.conf
1 ## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
2 ##
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
6 ##
7
8 #
9 # This file contains the list of reported regression cases in 3.4.0.1 parser
10 # it covers various uses of:
11 # folded lines
12 # bare macro token
13 # key=value tokens
14 # helper command line
15 # quoted file include
16 # regular expressions
17 # percentage token
18 # bare double-quote characters (escaped and unescaped)
19 # false-positive quoted-string token
20 #
21
22 external_acl_type LdapGroup children-max=30 children-startup=10 \
23 concurrency=0 ttl=600 negative_ttl=10 grace=0 protocol=2.5 %SRC \
24 /bin/true -v 3 -h 127.0.0.1 -b "o=A,c=INVALID" -B "org=borken?,ou=People,o=A,c=INVALID" \
25 -f "(&(cn=%g)(memberUid=%u))" -F "(&(objectClass=account)(uid=%s))" -s sub
26
27 acl Mark dstdomain "empty.conf"
28
29 refresh_pattern "foo 0 80% 20160
30 refresh_pattern "foo\" 0 80% 20160
31 refresh_pattern foo\" 0 80% 20160
32
33
34 refresh_pattern -i bar.com.invalid/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 90% 43200
35 refresh_pattern -i foo.com.invalid.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 90% 43200
36
37 refresh_pattern http://download\.foo\.invalid/ 0 80% 20160
38 refresh_pattern ftp://ftp\.bar\.invalid/ 0 80% 20160
39 refresh_pattern http://ftp\.software\.invalid/ 0 80% 20160
40
41 # Others
42 refresh_pattern -i \.mp4 1440 90% 43200
43 refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 40320 75% 86400
44 refresh_pattern -i \.(iso|avi|wav|mp3|mpeg|swf|flv|x-flv)$ 1440 40% 40320
45
46 refresh_pattern ^ftp: 1440 20% 10080
47 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
48 refresh_pattern . 0 20% 4320