[java-identity-provider] branch main updated: Add a bit more encoding to template.

Codeberg noreply at shibboleth.net
Mon Nov 30 16:37:45 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/bc0b5d071a4761ed004a398946490e4dee57cea2

The following commit(s) were added to refs/heads/main by this push:
     new bc0b5d071 Add a bit more encoding to template.
bc0b5d071 is described below

commit bc0b5d071a4761ed004a398946490e4dee57cea2
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Nov 30 11:36:58 2026 -0500

    Add a bit more encoding to template.
---
 .../src/main/resources/net/shibboleth/idp/module/views/error.vm         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/error.vm b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/error.vm
index 90c030ad8..1aed2a4ab 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/error.vm
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/error.vm
@@ -41,7 +41,7 @@
     #set ($eventId = $exception.getClass().getSimpleName())
     #set ($eventKey = $springMacroRequestContext.getMessage("$eventId", "error"))
     #set ($titleSuffix = $springMacroRequestContext.getMessage("${eventKey}.title", "$defaultTitleSuffix"))
-    #set ($message = $springMacroRequestContext.getMessage("${eventKey}.message", "$defaultTitleSuffix: $eventId"))
+    #set ($message = $springMacroRequestContext.getMessage("${eventKey}.message", "$defaultTitleSuffix: $encoder.encodeForHTML($eventId)"))
     $response.setStatus(500)
 #else
 	## This is a catch-all that theoretically shouldn't happen?

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list