[release] v0.4.0-unstable11

This commit is contained in:
Yann Stepienik 2023-05-08 14:42:01 +01:00
parent 13639a02e1
commit 6a7cc3795d
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "cosmos-server", "name": "cosmos-server",
"version": "0.4.0-unstable10", "version": "0.4.0-unstable11",
"description": "", "description": "",
"main": "test-server.js", "main": "test-server.js",
"bugs": { "bugs": {

View file

@ -28,7 +28,7 @@ func ManageContainerRoute(w http.ResponseWriter, req *http.Request) {
vars := mux.Vars(req) vars := mux.Vars(req)
containerName := utils.Sanitize(vars["containerId"]) containerName := utils.SanitizeSafe(vars["containerId"])
// stop, start, restart, kill, remove, pause, unpause, recreate // stop, start, restart, kill, remove, pause, unpause, recreate
action := utils.Sanitize(vars["action"]) action := utils.Sanitize(vars["action"])