Skip to content

Commit cd77630

Browse files
committed
FELIX-6782 Allow adding custom headers to Jetty error pages
- Correct defaults
1 parent d66f7a4 commit cd77630

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ public ObjectClassDefinition getObjectClassDefinition( String id, String locale
223223
adList.add(new AttributeDefinitionImpl(JettyConfig.FELIX_JETTY_ERROR_PAGE_CUSTOM_HEADERS,
224224
"Custom headers to add to error pages",
225225
"Felix specific property to configure the custom headers to add to all error pages served by Jetty. Separate key-value pairs with ##.",
226-
204800,
227-
bundle.getBundleContext().getProperty(JettyConfig.FELIX_JETTY_RESPONSE_SIZE_LIMIT)));
226+
null,
227+
bundle.getBundleContext().getProperty(JettyConfig.FELIX_JETTY_ERROR_PAGE_CUSTOM_HEADERS)));
228228

229229
adList.add(new AttributeDefinitionImpl(JettyConfig.FELIX_HTTP_PATH_EXCLUSIONS,
230230
"Path Exclusions",

0 commit comments

Comments
 (0)