perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

Support static files in /META-INF/resources according to Servlet Spec #996

Open jsiebahn opened 6 years ago

jsiebahn commented 6 years ago

With #981 the ClassPathResource drops paths containing META-INF and WEB-INF. The Servlet Spec defines /META-INF/resources as a default resource path to include static resources from libraries.

This pull request adds an exception for this defined path.