[java-opensaml] branch main updated: Fix null issue.

Scott Cantor cantor.2 at osu.edu
Fri Mar 21 12:56:23 UTC 2025


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

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=20d139e8e8bc39247a08995930a67d793d715649

The following commit(s) were added to refs/heads/main by this push:
     new 20d139e8e Fix null issue.
20d139e8e is described below

commit 20d139e8e8bc39247a08995930a67d793d715649
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Mar 21 08:56:20 2025 -0400

    Fix null issue.
---
 .../org/opensaml/profile/action/impl/ValidateHttpServletRequest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java b/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
index edf7a74b9..8d58f3669 100644
--- a/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
+++ b/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/ValidateHttpServletRequest.java
@@ -78,7 +78,7 @@ public class ValidateHttpServletRequest extends AbstractConditionalProfileAction
     @Override
     protected void doExecute(@Nonnull final ProfileRequestContext profileContext) {
        try {
-            getValidator().validate(getHttpServletRequest());
+            getValidator().validate(ensureHttpServletRequest());
             ActionSupport.buildProceedEvent(profileContext);
         } catch (final ServletException e) {
             log.warn("HttpServletRequest failed validation", e);

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


More information about the commits mailing list