diff options
author | Thomas <> | 2023-11-06 07:53:06 +0100 |
---|---|---|
committer | Thomas <> | 2023-11-29 14:10:56 +0100 |
commit | 96e0c0799e653e832f356b8a465a872cdc02c2c1 (patch) | |
tree | 0a22ec9b26212a717aaf133a9c25b02d67e4fbc0 | |
parent | c917f335cd43cc1001c2cb4e60e09fa896454e3e (diff) | |
download | EAAF-Components-96e0c0799e653e832f356b8a465a872cdc02c2c1.tar.gz EAAF-Components-96e0c0799e653e832f356b8a465a872cdc02c2c1.tar.bz2 EAAF-Components-96e0c0799e653e832f356b8a465a872cdc02c2c1.zip |
fix(gui): escape special characters in error messages
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java | 3 |
1 files changed, 2 insertions, 1 deletions
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"; |