api: fix rendering of filepath/string parameters
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 15 May 2017 07:31:07 +0000 (09:31 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Sep 2017 11:45:41 +0000 (13:45 +0200)
commitfbb0ec640ac1c971da55491c68d32b82c984bc32
tree1586a4a613e9b8fd6c8201596e8f589ae5e13e47
parent2d38b8a1b941a93a3db3c8ce29a46b8de819202b
api: fix rendering of filepath/string parameters

25d9bda94127b1a91181cd80bb9948093dea389b broke this check,
but it is a better idea to check against the actual type
rather then the rendered type text anyway.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/RESTHandler.pm