[ 
https://issues.apache.org/jira/browse/TS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417365#comment-15417365
 ] 

Petar Penkov commented on TS-110:
---------------------------------

In addition to adding the @host option, I addressed minor issues with the 
plugin. These are as follows:
    - @no-method parameter was incorrectly turning ON the method, instead of OFF
    - @matrix-parameters and @no-matrix-parameters were being incorrectly 
compared against. Proper length of the strings updated.

> Add a @host option to regex_remap plugin
> ----------------------------------------
>
>                 Key: TS-110
>                 URL: https://issues.apache.org/jira/browse/TS-110
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.0
>            Reporter: Manjesh Nilange
>            Assignee: Petar Penkov
>            Priority: Minor
>             Fix For: 7.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently, regex support covers only the host field of the remap rules. It'd 
> be nice to extend this to allow substitutions into the path field as well. 
> This will allow rules like:
> regex_map http://www.example-(.*).com/ http://real-example.com/$1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to