all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager 0/2] fix #6516: limit the backup job ID length on creation
@ 2026-09-26  7:29 Michal Fox
  2026-09-26  7:29 ` [PATCH manager 1/2] fix #6516: api: backup jobs: limit the " Michal Fox
  2026-09-26  7:29 ` [PATCH manager 2/2] fix #6516: ui: backup job: limit the job ID length Michal Fox
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Fox @ 2026-09-26  7:29 UTC (permalink / raw)
  To: pve-devel

creating a backup job did not check the 50 character limit that every
other backup job API call enforces, so a job with a longer ID could be
created but then neither be edited nor removed (#6516). the first patch
adds the limit to the create call, the second one marks a longer ID as
invalid in the edit window already.

tested by validating the create parameters against the API schema in a
container: 51 characters are now rejected, 50 still work, and in a
browser with the built pvemanagerlib.js the Job ID field shows the
maximum length error.

Michal Fox (2):
  fix #6516: api: backup jobs: limit the job ID length on creation
  fix #6516: ui: backup job: limit the job ID length

 PVE/API2/Backup.pm                          | 1 +
 www/manager6/panel/BackupAdvancedOptions.js | 1 +
 2 files changed, 2 insertions(+)

-- 
2.43.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-28  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-26  7:29 [PATCH manager 0/2] fix #6516: limit the backup job ID length on creation Michal Fox
2026-09-26  7:29 ` [PATCH manager 1/2] fix #6516: api: backup jobs: limit the " Michal Fox
2026-09-26  7:29 ` [PATCH manager 2/2] fix #6516: ui: backup job: limit the job ID length Michal Fox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal