Go to file
Thomas Lamprecht b7588bcdef api: subscription update: actually ignore surrounding whitespace
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>
2023-10-05 13:43:30 +02:00
aplinfo website: update external links to www.proxmox.com 2023-08-23 10:09:25 +02:00
bin handle pve-kernel -> proxmox-kernel rename 2023-08-01 10:33:12 +02:00
configs fix #3069: vzdump: add property 'performance: pbs-entries-max=N' 2023-09-18 16:54:17 +02:00
debian fix #4849: ui: allow decompressing ISO files when downloading 2023-09-26 09:35:31 +02:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE api: subscription update: actually ignore surrounding whitespace 2023-10-05 13:43:30 +02:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
test fix mocking in notification tests 2023-08-16 11:58:22 +02:00
www ui: subscription upload: trim key from whitespace on submission 2023-10-05 13:43:30 +02:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile buildsys: ordering/style cleanups 2023-07-03 13:17:18 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00