summaryrefslogtreecommitdiff
path: root/eaaf_core/src
diff options
context:
space:
mode:
authorThomas <>2023-11-06 07:53:06 +0100
committerThomas <>2023-11-06 07:53:06 +0100
commitb5431b8b57f0b8d7ba281e89c84e9cdba691494d (patch)
tree33fe4e682adf4c4802d7c72869d2c6a11aba68ee /eaaf_core/src
parent028537bfddfc5351902a6f16d29c73159b8c9b7e (diff)
downloadEAAF-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')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/auth/services/ProtocolAuthenticationService.java3
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("\\{", "&#123;");
+ .replaceAll("\\{", "&#123;")
+ .replaceAll("\\}", "&#125;");
} else {
errorCodeParams[i] = "null";