## Copyright (C) 1996-2023 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##

#
# This file contains the list of reported regression cases in 3.4.0.1 parser
# it covers various uses of:
#	folded lines
#	bare macro token
#	key=value tokens
#	helper command line
#	quoted file include
#	regular expressions
#	percentage token
#	bare double-quote characters (escaped and unescaped)
#	false-positive quoted-string token
#

external_acl_type LdapGroup children-max=30 children-startup=10 \
concurrency=0 ttl=600 negative_ttl=10 grace=0 protocol=2.5 %SRC \
  /bin/true -v 3 -h 127.0.0.1 -b "o=A,c=INVALID" -B "org=borken?,ou=People,o=A,c=INVALID" \
  -f "(&(cn=%g)(memberUid=%u))" -F "(&(objectClass=account)(uid=%s))" -s sub 

acl Mark dstdomain "empty"

refresh_pattern "foo 0 80% 20160
refresh_pattern "foo\" 0 80% 20160
refresh_pattern foo\" 0 80% 20160


refresh_pattern -i bar.com.invalid/.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 90% 43200
refresh_pattern -i foo.com.invalid.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip) 4320 90% 43200

refresh_pattern http://download\.foo\.invalid/ 0 80% 20160
refresh_pattern ftp://ftp\.bar\.invalid/ 0 80% 20160
refresh_pattern http://ftp\.software\.invalid/ 0 80% 20160

# Others
refresh_pattern -i \.mp4 1440 90% 43200
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 40320 75% 86400
refresh_pattern -i \.(iso|avi|wav|mp3|mpeg|swf|flv|x-flv)$ 1440 40% 40320

refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?)       0       0%      0
refresh_pattern .       0       20%     4320
