]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Simplify balancer-manager XSS protection, no functional change:
authorJoe Orton <jorton@apache.org>
Wed, 3 Mar 2021 14:27:33 +0000 (14:27 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 3 Mar 2021 14:27:33 +0000 (14:27 +0000)
commit00940b1ea9ab085e6bf9396941aebeec7e2cae33
treebd834b42420956f86e0e497ada36249b75700293
parent8008cb3600aae931b9f4964d57dc6b37374e3322
Simplify balancer-manager XSS protection, no functional change:

* modules/proxy/mod_proxy_balancer.c (balancer_process_balancer_worker):
  Drop the ok2change parameter, which makes the function a noop, and
  require the function is not called for that case.
  (balancer_handler): Only call balancer_process_balancer_worker if
  the nonce matches.  Simplify call to balancer_display_page.

Github: closes #174

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