From e60ac573bc32744e8aeb6b114553ce74344a7f3d Mon Sep 17 00:00:00 2001 From: Daniel Kontsek Date: Thu, 12 Mar 2026 17:54:47 +0100 Subject: [PATCH] [clsi] fix nginx regex for submission IDs with uppercase characters GitOrigin-RevId: 28d85ebcf5abdb146d2fe8886039d0da0af08d53 --- services/clsi/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/clsi/nginx.conf b/services/clsi/nginx.conf index 2d869eeb93..4f2cdd1a2b 100644 --- a/services/clsi/nginx.conf +++ b/services/clsi/nginx.conf @@ -62,13 +62,13 @@ server { root /output/$1/generated-files/$2/; } # handle output files for submissions - location ~ ^/project/([a-z0-9_-]+)/build/([0-9a-f-]+)/output/(.+)$ { + location ~ ^/project/([a-zA-Z0-9_-]+)/build/([0-9a-f-]+)/output/(.+)$ { if ($request_method = 'OPTIONS') { # handle OPTIONS method for CORS requests add_header 'Allow' 'GET,HEAD'; return 204; } - rewrite ^/project/([a-z0-9_-]+)/build/([0-9a-f-]+)/output/(.+)$ /$3 break; + rewrite ^/project/([a-zA-Z0-9_-]+)/build/([0-9a-f-]+)/output/(.+)$ /$3 break; root /output/$1/generated-files/$2/; }