Bug 46594 - Global search-and-replace in RequestHeader edit
Summary: Global search-and-replace in RequestHeader edit
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_headers (show other bugs)
Version: 2.2.10
Hardware: All All
: P2 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2009-01-24 08:52 UTC by Francis McKenzie
Modified: 2011-09-17 15:59 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francis McKenzie 2009-01-24 08:52:03 UTC
Please can you enhance the RequestHeader edit command so that it can do a global search and replace?

For example, I have a Cookie header as follows:

Cookie: my_cookie1=1; my_cookie2=2; my_cookie3=3;

I want to be able to use the following configuration line:

RequestHeader edit Cookie my your

...to do a global search and replace 'my' with 'your', to give the following result:

Cookie: your_cookie1=1; your_cookie2=2; your_cookie3=3;


Or is this already possible, and I'm just missing something?
Comment 1 Stefan Fritsch 2010-08-18 18:41:15 UTC
added in trunk in r894036
Comment 2 Stefan Fritsch 2011-09-17 15:59:41 UTC
r989122 / 2.2.17