From 96e0c0799e653e832f356b8a465a872cdc02c2c1 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 6 Nov 2023 07:53:06 +0100 Subject: fix(gui): escape special characters in error messages --- .../core/impl/idp/auth/services/ProtocolAuthenticationService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eaaf_core') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java index 0e454c7a..bf449d44 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java @@ -511,7 +511,8 @@ public class ProtocolAuthenticationService implements IProtocolAuthenticationSer */ errorCodeParams[i] = params[i].toString() .replaceAll("'", "''") - .replaceAll("\\{", "{"); + .replaceAll("\\{", "{") + .replaceAll("\\}", "}"); } else { errorCodeParams[i] = "null"; -- cgit v1.2.3