From 3d23793237712f700642b95fc76a27113d7263d8 Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Thu, 13 Apr 2023 15:09:01 +0200
Subject: [PATCH] fix(fs): allow `+$` inside paths (#21482)

---
 lib/util/fs/util.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util/fs/util.ts b/lib/util/fs/util.ts
index 11a5f1639c..5dbab5bf93 100644
--- a/lib/util/fs/util.ts
+++ b/lib/util/fs/util.ts
@@ -5,7 +5,7 @@ import { logger } from '../../logger';
 
 // http://www.mtu.edu/umc/services/digital/writing/characters-avoid/
 // We allow spaces, but not newlines
-const restricted = /[[\]#%&{}<>*?\b\n\r\0$!'"|‘“+^`]/;
+const restricted = /[[\]#%&{}<>*?\b\n\r\0!'"|‘“^`]/;
 
 function assertBaseDir(path: string, baseDir: string): void {
   if (!path.startsWith(baseDir)) {
-- 
GitLab