[
https://issues.apache.org/jira/browse/TS-110?focusedWorklogId=26315&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26315
]
ASF GitHub Bot logged work on TS-110:
-------------------------------------
Author: ASF GitHub Bot
Created on: 10/Aug/16 23:45
Start Date: 10/Aug/16 23:45
Worklog Time Spent: 10m
Work Description: Github user zwoop commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/848#discussion_r74351795
--- Diff: plugins/regex_remap/regex_remap.cc ---
@@ -759,15 +761,19 @@ TSRemapNewInstance(int argc, char *argv[], void **ih,
char * /* errbuf ATS_UNUSE
} else if (strncmp(argv[i], "method", 6) == 0) {
ri->method = true;
} else if (strncmp(argv[i], "no-method", 9) == 0) {
- ri->method = true;
+ ri->method = false;
--- End diff --
Nice catch!
Issue Time Tracking
-------------------
Worklog Id: (was: 26315)
Time Spent: 0.5h (was: 20m)
> 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: 0.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)