paulrutter commented on code in PR #308:
URL: https://github.com/apache/felix-dev/pull/308#discussion_r1580489674


##########
http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java:
##########
@@ -564,6 +566,18 @@ private void 
configureHttpConnectionFactory(HttpConnectionFactory connFactory)
         config.setResponseHeaderSize(this.config.getHeaderSize());
         config.setOutputBufferSize(this.config.getResponseBufferSize());
 
+        String uriComplianceMode = 
this.config.getProperty(JettyConfig.FELIX_JETTY_URI_COMPLIANCE_MODE, null);
+        if (uriComplianceMode != null) {
+            config.setUriCompliance(UriCompliance.valueOf(uriComplianceMode));

Review Comment:
   Good one, will adjust. 



##########
http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java:
##########
@@ -564,6 +566,18 @@ private void 
configureHttpConnectionFactory(HttpConnectionFactory connFactory)
         config.setResponseHeaderSize(this.config.getHeaderSize());
         config.setOutputBufferSize(this.config.getResponseBufferSize());
 
+        String uriComplianceMode = 
this.config.getProperty(JettyConfig.FELIX_JETTY_URI_COMPLIANCE_MODE, null);
+        if (uriComplianceMode != null) {
+            config.setUriCompliance(UriCompliance.valueOf(uriComplianceMode));
+
+            if ("LEGACY".equals(uriComplianceMode) || 
"UNSAFE".equals(uriComplianceMode)

Review Comment:
   Yes, will do



-- 
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: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to