This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch 3.0.x
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/3.0.x by this push:
     new 9224384  Escape $1 so that the regex populates correctly (#3388)
9224384 is described below

commit 9224384a2eed4f49c6d6bac496f839ad34f842e8
Author: Steve Malenfant <[email protected]>
AuthorDate: Thu Mar 7 14:40:56 2019 -0500

    Escape $1 so that the regex populates correctly (#3388)
---
 traffic_ops/app/lib/UI/DeliveryService.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/app/lib/UI/DeliveryService.pm 
b/traffic_ops/app/lib/UI/DeliveryService.pm
index 2c34872..578538d 100644
--- a/traffic_ops/app/lib/UI/DeliveryService.pm
+++ b/traffic_ops/app/lib/UI/DeliveryService.pm
@@ -1432,7 +1432,7 @@ sub get_qstring_ignore_remap {
        my $ats_major_version = shift;
 
        if ($ats_major_version >= 6) {
-               return " \@plugin=cachekey.so \@pparam=--separator= 
\@pparam=--remove-all-params=true \@pparam=--remove-path=true 
\@pparam=--capture-prefix-uri=/^([^?]*)/$1/";
+               return " \@plugin=cachekey.so \@pparam=--separator= 
\@pparam=--remove-all-params=true \@pparam=--remove-path=true 
\@pparam=--capture-prefix-uri=/^([^?]*)/\$1/";
        }
        else {
                return " \@plugin=cacheurl.so \@pparam=cacheurl_qstring.config";

Reply via email to