Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Checking some forums I notice ExtensionsFilter setup cause a lot of unnecessary pain.
In JSF 1.1 and 1.2, configure it is necessary but this is not true anymore with JSF 2.0, because almost all components are using JSF 2.0 standard ResourceHandler. The only components that really requires ExtensionsFilter / TomahawkFacesContextWrapper are t:inputFileUpload and t:stylesheet.
We should set org.apache.myfaces.CHECK_EXTENSIONS_FILTER by default to false, to allow webapp including tomahawk start without problem and without cause all that know issues related to multiple filters ordering. If t:inputFileUpload is used, the documentation must say in a detailed way how to setup and the problems that could happen with other libraries. Finally, a warning should be output if t:inputFileUpload is used and no ExtensionsFilter / TomahawkFacesContextWrapper is active.