From 26eb6e489cf5c0ec62c74d2a8926ec44244b22bc Mon Sep 17 00:00:00 2001 From: DelanoWAF Date: Fri, 23 Jun 2023 09:58:15 +0200 Subject: [PATCH 1/2] fix: prevent errors from causing errors - An error had the chance of causing a "Content not allowed in prolog" error. This has been prevented with IsXML checks. --- .../Configuration_WebformulierenVerwerker.xml | 99 ++++++++++++++++--- 1 file changed, 88 insertions(+), 11 deletions(-) diff --git a/configurations/WebformulierenVerwerker/Configuration_WebformulierenVerwerker.xml b/configurations/WebformulierenVerwerker/Configuration_WebformulierenVerwerker.xml index 140af98..87a6f34 100644 --- a/configurations/WebformulierenVerwerker/Configuration_WebformulierenVerwerker.xml +++ b/configurations/WebformulierenVerwerker/Configuration_WebformulierenVerwerker.xml @@ -93,6 +93,13 @@ + + + + + + + @@ -122,10 +129,17 @@ - - + + + + + + + + + @@ -164,9 +178,16 @@ - + + + + + + + + @@ -199,8 +220,15 @@ - + + + + + + + + @@ -228,9 +256,16 @@ - + + + + + + + + @@ -250,9 +285,16 @@ - + + + + + + + + @@ -295,9 +337,16 @@ - + + + + + + + + @@ -327,9 +376,16 @@ - + + + + + + + + @@ -362,8 +418,15 @@ + + + + + + + + styleSheetName="xsl/ParseNegativeHttpResult.xsl" > @@ -385,8 +448,15 @@ - + + + + + + + + @@ -411,9 +481,16 @@ - + + + + + + + + From 2b9c2f6bcad7a189acc2ad22a690eddd05de9986 Mon Sep 17 00:00:00 2001 From: DelanoWAF Date: Fri, 23 Jun 2023 09:58:42 +0200 Subject: [PATCH 2/2] feat: add additional information to error response --- .../WebformulierenVerwerker/xsl/ParseNegativeHttpResult.xsl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configurations/WebformulierenVerwerker/xsl/ParseNegativeHttpResult.xsl b/configurations/WebformulierenVerwerker/xsl/ParseNegativeHttpResult.xsl index 8c872eb..397d179 100644 --- a/configurations/WebformulierenVerwerker/xsl/ParseNegativeHttpResult.xsl +++ b/configurations/WebformulierenVerwerker/xsl/ParseNegativeHttpResult.xsl @@ -27,12 +27,15 @@ ServerError - Some negative response + An unknown error occurred
+ + +