diff --git a/nuclei-templates/saml-headless-all.yaml b/nuclei-templates/saml-headless-all.yaml
index d770e41d66689e8da0b090fe9ec0ff1150864abf..adbd90f00c9912f8c945952696141938b362e7ba 100644
--- a/nuclei-templates/saml-headless-all.yaml
+++ b/nuclei-templates/saml-headless-all.yaml
@@ -8,7 +8,7 @@ variables:
   BEARER_TOKEN: "abcd...789"
   CONFORMANCE_IDP_BASE_URL: https://conformance-idp.maiv1.incubator.geant.org/
   SCREENSHOTS_DIR: ""
-  FILENAME: '{{date_time("%Y-%M-%D_%H-%m-%s")}}-{{replace_regex(BaseURL,"(\\W+)","_")}}'
+  FILENAME: '{{date_time("%Y-%M-%D_%H-%m-%s")}}-{{sha256(BaseURL)}}'
   TEST_CASES:
     - noSignature
     - invalidSignature