From 3f47c33ed6e296cc7e98d8363bba83bf778bcfa5 Mon Sep 17 00:00:00 2001 From: Connor Nelson Date: Fri, 10 May 2024 08:57:17 -0700 Subject: [PATCH] Workspace: Forward all standard HTTP request methods (#409) --- dojo_plugin/pages/workspace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dojo_plugin/pages/workspace.py b/dojo_plugin/pages/workspace.py index e1900d9ab..a6d57346f 100644 --- a/dojo_plugin/pages/workspace.py +++ b/dojo_plugin/pages/workspace.py @@ -91,8 +91,8 @@ def view_workspace(service): @workspace.route("/workspace//", websocket=True) @workspace.route("/workspace//", websocket=True) -@workspace.route("/workspace//") -@workspace.route("/workspace//") +@workspace.route("/workspace//", methods=["GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]) +@workspace.route("/workspace//", methods=["GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]) @authed_only @bypass_csrf_protection def forward_workspace(service, service_path=""):