[
https://issues.apache.org/jira/browse/TS-110?focusedWorklogId=26282&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26282
]
ASF GitHub Bot logged work on TS-110:
-------------------------------------
Author: ASF GitHub Bot
Created on: 10/Aug/16 15:24
Start Date: 10/Aug/16 15:24
Worklog Time Spent: 10m
Work Description: GitHub user petarpenkov opened a pull request:
https://github.com/apache/trafficserver/pull/848
TS-110: Added @host parameter to regex_remap to allow matching on hos…
…t field.
See mail on @dev list, TS-110.
In addition, this PR addresses some minor issues with the plugin.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/petarpenkov/trafficserver TS-110
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/848.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #848
----
commit 21d457cfb8b9c04c4745b3822ec472de7f5c52f6
Author: Petar Penkov <[email protected]>
Date: 2016-08-10T15:07:32Z
TS-110: Added @host parameter to regex_remap to allow matching on host
field.
----
Issue Time Tracking
-------------------
Worklog Id: (was: 26282)
Time Spent: 10m
Remaining Estimate: 0h
> Improve regex remap to allow substitutions in path field
> --------------------------------------------------------
>
> 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
> Priority: Minor
> Fix For: sometime
>
> Time Spent: 10m
> 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)