mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 11:32:41 +00:00
![]() We already trim correctly in the API endpoint's code, but that happens after the parameter verification from the REST server, and as patterns are anchored between ^$pattern$ there by default, it fails if someone sends some whitespace before/after the actual key. Simply allow arbitrary whitespace, but only at the API endpoint itself, do not adapt the subscription pattern to avoid that an actual whitespace sneaks in and let some lower level code throw up on it. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
aplinfo | ||
bin | ||
configs | ||
debian | ||
network-hooks | ||
PVE | ||
services | ||
test | ||
www | ||
.gitignore | ||
defines.mk | ||
Makefile | ||
spice-example-sh | ||
vzdump-hook-script.pl |