volosied commented on code in PR #1137:
URL: https://github.com/apache/myfaces/pull/1137#discussion_r4565460969
##########
impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletFactory.java:
##########
@@ -415,6 +434,10 @@ private boolean mappingAllowed(FacesContext context,
String normalizedPath)
return true;
}
+ /** Suffixes always accepted in addition to the configured Facelet
suffixes and view mappings. */
+ private static final Set<String> DEFAULT_ALLOWED_SUFFIXES = Set.of(
Review Comment:
I agree, however some application can still continue to use jsp / jspx for
one reason or another. I included this out of caution in order to avoid further
regressions. There's not harm if jsp is allowed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]