Skip to content

Commit 149c0f0

Browse files
committed
sanitisation check
1 parent e6c00f3 commit 149c0f0

File tree

1 file changed

+1
-1
lines changed
  • src/murfey/instrument_server

1 file changed

+1
-1
lines changed

src/murfey/instrument_server/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def start_multigrid_watcher(
148148
if controller.dormant:
149149
del controllers[sid]
150150
requests.delete(
151-
f"{_get_murfey_url()}/sessions/{sid}",
151+
f"{_get_murfey_url()}/sessions/{sanitise_nonpath(str(sid))}",
152152
headers={"Authorization": f"Bearer {tokens[sid]}"},
153153
)
154154
controllers[session_id] = MultigridController(

0 commit comments

Comments
 (0)