janhoy opened a new pull request #456: URL: https://github.com/apache/solr/pull/456
https://issues.apache.org/jira/browse/SOLR-15678 I tested Velociry Response Writer in 8.11.1, and it appears that it uses ShowFile handler to get its css and js files from within the configset folder. But the VM templates uses `file=/velocity/foo.css`, i.e. absolute paths, which are now disallowed. So the simple fix is to strip leading slash and interpret that to mean start of config folder. We also add back support for `text/javascript`, as that is also used by Velocity. Tested to work well with Admin UI files view. This is mainly done in main branch so that the 3rd party velocity package will still work in 9.0. -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org