From 26f20ae51cc1e7fcfbd57e67265e08f2ee9b6aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Wed, 29 Apr 2026 14:07:00 +0200 Subject: [PATCH] web: allow equal ("=") in file paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit glibc has a file named `=__ify` at root or in scripts/ inbetween tags glibc-1.09 and glibc-2.1.91. We have no specific reason to refuse equal signs so add it to the regex. Tested locally on URL: /glibc/glibc-1.09/source/=__ify Signed-off-by: Théo Lebrun --- elixir/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir/web.py b/elixir/web.py index e50fe8f..c7bb6b9 100755 --- a/elixir/web.py +++ b/elixir/web.py @@ -230,7 +230,7 @@ class SourceResource: return # Check if path contains only allowed characters - if not search('^[A-Za-z0-9_/.,+-]*$', path): + if not search('^[A-Za-z0-9_/.,+-=]*$', path): raise ElixirProjectError('Error', 'Path contains characters that are not allowed', project=project, version=version, query=query)