summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/string
blob: bcf0fcffc1008f77da9e6d83c4a0aeea55ffdac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
#  PRE: cmp
#
update control {
       Cleartext-Password := 'hello'
}

update request {
	Tmp-String-0 := "this\000is\000a\000string"
}

#
#  %{string:...} is explicitly not binary safe
#
if ("%{string:Tmp-String-0}" == "this") {
	update reply {
		Filter-Id := "filter"
	}
}