diff options
Diffstat (limited to 'tests/rewrite06.at')
-rw-r--r-- | tests/rewrite06.at | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/rewrite06.at b/tests/rewrite06.at index 39666b7..0f66846 100644 --- a/tests/rewrite06.at +++ b/tests/rewrite06.at @@ -1,3 +1,3 @@ # This file is part of vmod-dbrw -*- autotest -*- -# Copyright (C) 2013-2014 Sergey Poznyakoff +# Copyright (C) 2013-2018 Sergey Poznyakoff # @@ -25,3 +25,4 @@ AT_VCL([SELECT dest,pattern,value,flags FROM rewrite - WHERE host='$host' AND '$url' LIKE url], + WHERE host='$host' AND url IN ($(urlprefixes $url)) + ORDER BY LENGTH(dest),value DESC], [txreq -url /local/foo/bar?x&y&z -hdr "Host:tre.example.net" |