Thomas Andraschko created MYFACES-4336:
------------------------------------------

             Summary: AUTOMATIC_EXTENSIONLESS_MAPPING doesnt work on quarkus
                 Key: MYFACES-4336
                 URL: https://issues.apache.org/jira/browse/MYFACES-4336
             Project: MyFaces Core
          Issue Type: Task
    Affects Versions: 2.3-next-M2
            Reporter: Thomas Andraschko


Its implemented via:
            
facesContext.getApplication().getViewHandler().getViews(facesContext, "/", 
                    
ViewVisitOption.RETURN_AS_MINIMAL_IMPLICIT_OUTCOME).forEach(s -> {
                        
facesServletRegistration.getRegistration().addMapping(s);
                    });

which actually loops the webroot in a normal environment.
I think that will be a bit tricky to implement. 

Also for security reasons, we probably need to add something like a special 
"src/main/resources/quarkus-webroot" directory or something, to avoid 
auto-register of xhtml snippets from referenced JARs as views



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to