Re: Proposed changes to regex_remap core plugin

2020-11-20 Thread Walt Karas
I'm abandoning this, as it turns out it doesn't address our (Verizon) issue that I need to handle. I had thought that regex_remap matched against the pristine URL. But it matches against the requestURL passed to TSRemapDoRemap(). In ATS7, the pristine URL was passed to the first remap plugin, an

Proposed changes to regex_remap core plugin

2020-11-13 Thread Walt Karas
1. Two-character string substitutions can begin with ^ as well as $. If ^ is used, and the substitution is a URL component, the component will be the one in the pristine, rather than the remapped, URL. So, for example, $h is the host in the remapped URL, and ^h is the host in the pristine URL.