From 4e1d7bbb3de666f002a33a35034d8860a3a35144 Mon Sep 17 00:00:00 2001 From: Matt Morley Date: Tue, 25 Mar 2025 10:34:18 -0400 Subject: [PATCH] Dont sanitize unique name in calibration JSON HTTP URL (#1846) --- photon-client/src/stores/settings/CameraSettingsStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-client/src/stores/settings/CameraSettingsStore.ts b/photon-client/src/stores/settings/CameraSettingsStore.ts index e180ce4fb..4e5e1dc6c 100644 --- a/photon-client/src/stores/settings/CameraSettingsStore.ts +++ b/photon-client/src/stores/settings/CameraSettingsStore.ts @@ -478,7 +478,7 @@ export const useCameraSettingsStore = defineStore("cameraSettings", { const url = new URL(`http://${host}/api/utils/getCalibrationJSON`); url.searchParams.set("width", Math.round(resolution.width).toFixed(0)); url.searchParams.set("height", Math.round(resolution.height).toFixed(0)); - url.searchParams.set("cameraUniqueName", cameraUniqueName.replace(" ", "").trim().toLowerCase()); + url.searchParams.set("cameraUniqueName", cameraUniqueName); return url.href; }