mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-05-02 12:38:22 +00:00
![]() Some fields (e.g. filename) can contain spaces, but our 'trim'
function, would only return the value until the first whitespace
character instead of removing leading/trailing white space. This lead
to passing the wrong filename to the API call (e.g. 'foo' instead of
'foo (1).iso'), which would then reject it because of the 'wrong'
extension.
Fix this by just using the battle proven trim from pve-common.
Fixes:
|
||
---|---|---|
debian | ||
src | ||
.gitignore | ||
Makefile |