From c7af6b7bf4bb4b4023789c58d3c85072a327d964 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 2 Nov 2021 15:50:15 +0100 Subject: [PATCH] added missing regexp --- templates/da_cache_to_shub.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/da_cache_to_shub.json.j2 b/templates/da_cache_to_shub.json.j2 index f44f4ff..4ae5e52 100644 --- a/templates/da_cache_to_shub.json.j2 +++ b/templates/da_cache_to_shub.json.j2 @@ -21,7 +21,7 @@ "folder" : "${workflow.input.descriptor.userOrderName}-${workflow.input.descriptor.orderNumber}", "bcc" : ["prog@maris.nl","orchestrator@d4science.org"], "max_download_size" : 16106127360, - "scriptExpression": "return { folder : $.folder.replace(/[<>&:/|?%\\[\\]\\\]/g,' ').trim()}" + "scriptExpression": "return { folder : $.folder.replace(/\[<>&:/|?%\\[\\]\\\\]/g,' ').trim()}" } }, {