]> git.proxmox.com Git - pve-http-server.git/commit
proxy request: assert that API url starts with a slash
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 2 Jul 2022 05:56:12 +0000 (07:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 2 Jul 2022 05:56:15 +0000 (07:56 +0200)
commit580d540ea907ba15f64379c5bb69ecf1a49a875f
treeeeaeba8988c7c135f2f0aceed596b462cacebdf4
parent936007ae0241811093155000486da171379c23c2
proxy request: assert that API url starts with a slash

We implicitly assume that to be the case when assembling the target
URL, so assert it explicitly as it's user controlled input.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Originally-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/APIServer/AnyEvent.pm