SUSE / velum

Dashboard for CaaS Platform clusters (v1, v2 and v3)
https://www.suse.com/
Apache License 2.0
54 stars 30 forks source link

[bsc#1121165] changed kubeconfig download from get to post request #737

Closed vitoravelino closed 5 years ago

vitoravelino commented 5 years ago

The kubeconfig download request was previously done via GET request and the file content could be easily modified through url parameters.

With this patch we've changed from GET to POST method and now taking advantage of CSRF protection.

Signed-off-by: Vítor Avelino vavelino@suse.com

bsc#1121165