mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-01-05 11:49:50 -06:00
[release] v0.4.0-unstable11
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.4.0-unstable10",
|
||||
"version": "0.4.0-unstable11",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
||||
@@ -28,7 +28,7 @@ func ManageContainerRoute(w http.ResponseWriter, req *http.Request) {
|
||||
|
||||
|
||||
vars := mux.Vars(req)
|
||||
containerName := utils.Sanitize(vars["containerId"])
|
||||
containerName := utils.SanitizeSafe(vars["containerId"])
|
||||
// stop, start, restart, kill, remove, pause, unpause, recreate
|
||||
action := utils.Sanitize(vars["action"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user