From 90880290285353f9349f5a60b434124a1ed86a2c Mon Sep 17 00:00:00 2001 From: Arlind Date: Sun, 23 Nov 2025 16:12:11 +0100 Subject: [PATCH] correctly handle brackets --- .gitea/actions/cleanup/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/actions/cleanup/action.yml b/.gitea/actions/cleanup/action.yml index b6ea0a6..167b013 100644 --- a/.gitea/actions/cleanup/action.yml +++ b/.gitea/actions/cleanup/action.yml @@ -30,7 +30,7 @@ runs: sanitize_filename() { echo "$1" | \ tr -d '\000-\037' | \ - sed -e 's#[][\/:*?"<>|]#-#g' | \ + sed -e 's#[\\/:*?"<>|]#-#g' | \ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' }