[pmg-devel] applied: [PATCH pmg-gui v2] fix #2632: use alternative api call for user black/whitelist

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 11 12:10:12 CET 2020


On 3/11/20 12:03 PM, Dominik Csapak wrote:
> which expects the entry as parameter instead of part of the path
> this allows all special characters to be included in the entry
> 
> in the url, some characters were problematic (e.g. '/') and not properly
> handled by the api in the backend
> 
> we use Ext.applyIf (which copies the non-existant entries to params) here
> instead of getting the ExtraParams from the proxy and setting '.address'
> (that would modify the ExtraParams of the proxy and send unwanted
> parameters to subsequent api calls like the list-loading)
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v1:
> * used applyIf instead of apply
> * seperated the assignments
> 
>  js/UserBlackWhiteList.js | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
> 

applied, thanks!



More information about the pmg-devel mailing list