We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc9ceb commit 341b6c7Copy full SHA for 341b6c7
src/murfey/instrument_server/api.py
@@ -286,7 +286,7 @@ def upload_gain_reference(
286
safe_visit_path = sanitise(gain_reference.visit_path)
287
safe_destination_dir = sanitise(gain_reference.gain_destination_dir)
288
machine_config = requests.get(
289
- f"{_get_murfey_url()}/instruments/{instrument_name}/machine",
+ f"{_get_murfey_url()}/instruments/{sanitise_nonpath(instrument_name)}/machine",
290
headers={"Authorization": f"Bearer {tokens[session_id]}"},
291
).json()
292
cmd = [
0 commit comments