Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10136?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 ) GEOS-10136 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10136?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 ) Create Session might throw NPE if pathInfo is Null ( 
https://osgeo-org.atlassian.net/browse/GEOS-10136?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 ) Created: 06/Jul/21 5:03 PM Priority: Medium Reporter: Marco Volpini ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480
 )

The problem has been reproduced on geoserver deployement with ssl enabled and a 
SAML filter intercepting /geoserver path.
According to java doc ( 
https://docs.oracle.com/cd/E17802_01/products/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html#getPathInfo()
 ) HttpServletRequest getPathInfo can return null.
A null check is needed here ( 
https://github.com/geoserver/geoserver/blob/9e40cbbccb9626b8d08516c8eacaf5a8f168189b/src/main/src/main/java/org/geoserver/filters/SessionDebugFilter.java#L92
 )

( 
https://osgeo-org.atlassian.net/browse/GEOS-10136#add-comment?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10136#add-comment?atlOrigin=eyJpIjoiMGZmYzQ4OGM4NjE5NDBiZTliYTFhNjY4MTdjY2FkZGUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100168- 
sha1:3232b41 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to