]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
In 'ap_proxy_cookie_reverse_map', iterate over each token of the 'Set-Cookie' header...
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 25 May 2018 22:27:53 +0000 (22:27 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 25 May 2018 22:27:53 +0000 (22:27 +0000)
commit5daf75b208b907e9bc47af8b87a434629c0181fe
treefd426f952546bfd8381c798244592d77361456d5
parent3cc71fb73dfbd85be74f1a8d63304bcc7186cc3d
In 'ap_proxy_cookie_reverse_map', iterate over each token of the 'Set-Cookie' header field in order to avoid updating the wrong one.

This could happen if the header field has something like 'fakepath=foo;path=bar". In this case fakepath would be updated instead of path.

We don't need regex anymore in order to parse the field values and 'ap_proxy_strmatch_domain' and 'ap_proxy_strmatch_path' are now useless. (and should be axed IMHO)

PR 61560

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832280 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/proxy_util.c