Skip to content

Commit 9df1f5d

Browse files
authored
Merge pull request #379 from apache/maintenance/FELIX-6754-Update-jetty-to-12.0.17
FELIX-6754 Update jetty to 12.0.17
2 parents cbb5a90 + 264bd75 commit 9df1f5d

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

http/jetty12/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
<properties>
4444
<felix.java.version>17</felix.java.version>
45-
<jetty.version>12.0.16</jetty.version>
45+
<jetty.version>12.0.17</jetty.version>
4646
<baseline.skip>true</baseline.skip>
4747
<org.ops4j.pax.exam.version>4.13.3</org.ops4j.pax.exam.version>
4848
<!-- To debug the pax process, override this with -D -->

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717
package org.apache.felix.http.jetty.internal;
1818

19+
import static org.eclipse.jetty.http.UriCompliance.JETTY_11;
1920
import static org.eclipse.jetty.http.UriCompliance.LEGACY;
2021
import static org.eclipse.jetty.http.UriCompliance.UNAMBIGUOUS;
2122
import static org.eclipse.jetty.http.UriCompliance.UNSAFE;
@@ -716,7 +717,8 @@ private void configureHttpConnectionFactory(HttpConnectionFactory connFactory)
716717
UriCompliance compliance = UriCompliance.valueOf(uriComplianceMode);
717718
config.setUriCompliance(compliance);
718719

719-
if (LEGACY.equals(compliance) || UNSAFE.equals(compliance) || UNAMBIGUOUS.equals(compliance)) {
720+
if (LEGACY.equals(compliance) || UNSAFE.equals(compliance) ||
721+
UNAMBIGUOUS.equals(compliance) || JETTY_11.equals(compliance)) {
720722
// See https://github.com/jetty/jetty.project/issues/11448#issuecomment-1969206031
721723
this.server.getContainedBeans(ServletHandler.class)
722724
.forEach(handler -> handler.setDecodeAmbiguousURIs(true));

http/jetty12/src/test/java/org/apache/felix/http/jetty/it/AbstractJettyTestSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
import org.slf4j.LoggerFactory;
4646

4747
public abstract class AbstractJettyTestSupport {
48-
protected static final String JETTY_VERSION = "12.0.16";
48+
protected static final String JETTY_VERSION = "12.0.17";
4949

5050
protected final Logger logger = LoggerFactory.getLogger(getClass());
5151

http/samples/whiteboard/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</scm>
4040

4141
<properties>
42-
<jetty.version>12.0.16</jetty.version>
42+
<jetty.version>12.0.17</jetty.version>
4343
</properties>
4444

4545
<build>

0 commit comments

Comments
 (0)