diff options
author | Thomas <> | 2023-11-06 07:53:06 +0100 |
---|---|---|
committer | Thomas <> | 2023-11-06 07:53:06 +0100 |
commit | b5431b8b57f0b8d7ba281e89c84e9cdba691494d (patch) | |
tree | 33fe4e682adf4c4802d7c72869d2c6a11aba68ee /eaaf_core/src/main/java | |
parent | 028537bfddfc5351902a6f16d29c73159b8c9b7e (diff) | |
download | EAAF-Components-b5431b8b57f0b8d7ba281e89c84e9cdba691494d.tar.gz EAAF-Components-b5431b8b57f0b8d7ba281e89c84e9cdba691494d.tar.bz2 EAAF-Components-b5431b8b57f0b8d7ba281e89c84e9cdba691494d.zip |
fix(gui): escape special characters in error messages
Diffstat (limited to 'eaaf_core/src/main/java')
-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 08fcf6f8..6de2f94a 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"; |