]> git.proxmox.com Git - proxmox.git/commit
api/router: percent decode the components of the uri
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 25 Jun 2020 08:47:54 +0000 (10:47 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Jun 2020 07:17:35 +0000 (09:17 +0200)
commitd7165108cb3106f4b4bb75db57e66b34b1d3ec94
tree6e31934febef19f8b7a75049ba34a9d05c812f8b
parent53e7e76b5f16e54173e1d1a677ae20c27b514133
api/router: percent decode the components of the uri

those can contain percent encoded values, so we have to decode them
before lookin up the path

this is especially important for the 'MatchAll' branch
when the parameter can contain some reserved characters

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
proxmox/Cargo.toml
proxmox/src/api/router.rs