[ https://issues.apache.org/jira/browse/FELIX-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-6782. ----------------------------------- Resolution: Fixed > Allow adding custom headers to Jetty error pages > ------------------------------------------------ > > Key: FELIX-6782 > URL: https://issues.apache.org/jira/browse/FELIX-6782 > Project: Felix > Issue Type: New Feature > Components: HTTP Service > Reporter: Paul Rütter > Assignee: Paul Rütter > Priority: Major > Labels: security > Fix For: http.jetty12-1.0.32 > > > Allow configuring custom response headers to error pages served by Jetty, for > example, when a HTTP 400 is returned in case of an invalid path. > Those requests would never end up in the embedding application. > With this change, the embedding application can still configure some custom > headers to these error pages. > {code:java} > org.apache.felix.http.jetty.errorPageCustomHeaders=Strict-Transport-Security=max-age=31536000##X-Custom-Header=123{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)