Ignore:
Timestamp:
Aug 9, 2009, 11:24:55 PM (15 years ago)
Author:
quentin
Message:

Make command XSS error correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/main.py

    r2418 r2421  
    222222            """Handler for running commands like boot and delete on a VM."""
    223223            if cherrypy.request.method != "POST":
    224                 raise InvalidInput("command_name", command_name, "That's not a valid command")
     224                raise InvalidInput("request.method", command_name, "You must execute commands via POST")
    225225            back = kwargs.get('back', None)
    226226            try:
Note: See TracChangeset for help on using the changeset viewer.