disable GETting to post keyboards to ajaxterm
[invirt/packages/invirt-web.git] / code / main.py
index ecb4363..1f9189f 100755 (executable)
@@ -411,6 +411,7 @@ console will suffer artifacts.
             return d
 
         @cherrypy.expose
+        @cherrypy.tools.require_POST()
         @cherrypy.tools.gzip()
         def at(self, machine_id, k=None, c=0, force=0):
             machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine