]> git.proxmox.com Git - proxmox.git/commit
rest: remove full static file path from error messages
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 20 Jun 2023 10:39:45 +0000 (12:39 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 23 Jun 2023 09:46:52 +0000 (11:46 +0200)
commitb687edc1a00aa1f7eafd45b484707cfbc4d28b2d
tree49e0380fbee3c0393e4f3f6816071cc147c26cb1
parent5791af8ff42b176f272939cb17dfdf6ab2e39ea3
rest: remove full static file path from error messages

this triggers certain security scanners, and having the requested path instead
gives basically the same information anyhow.

reported on the forum: https://forum.proxmox.com/threads/404-path-disclosure-vulnerability.129187/

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
proxmox-rest-server/src/rest.rs