Skip to content

Commit

Permalink
Bump Jetty from 9.4.46.v20220331 to 10.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Jun 22, 2022
1 parent cbfb448 commit 13505eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Expand Up @@ -15,8 +15,8 @@ updates:
# it would be good to update it at some point, but requires significant testing
- dependency-name: "org.codehaus.groovy:groovy-all"
versions: [">=2.5.0"]
# Must remain within Jetty 9.x until Java 8 support is removed; ignore Jetty 10.x and Jetty 11.x updates
# Must remain within Jetty 10.x until the Jakarta migration is complete; ignore Jetty 11.x updates
- dependency-name: "org.eclipse.jetty:*"
versions: [">=10.0.0"]
versions: [">=11.0.0"]
# Provided by the Web container, so aligned with Jetty.
- dependency-name: "javax.servlet:javax.servlet-api"
Expand Up @@ -2,6 +2,9 @@

import com.gargoylesoftware.htmlunit.WebClient;
import junit.framework.TestCase;
import org.eclipse.jetty.http.UriCompliance;
import org.eclipse.jetty.server.HttpConfiguration;
import org.eclipse.jetty.server.HttpConnectionFactory;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.servlet.ServletContextHandler;
Expand Down Expand Up @@ -44,6 +47,8 @@ protected void setUp() throws Exception {
server.setHandler(context);

ServerConnector connector = new ServerConnector(server);
HttpConfiguration hc = connector.getConnectionFactory(HttpConnectionFactory.class).getHttpConfiguration();
hc.setUriCompliance(UriCompliance.LEGACY);
server.addConnector(connector);
server.start();

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -45,7 +45,7 @@
<changelist>999999-SNAPSHOT</changelist>
<scmTag>HEAD</scmTag>
<spotbugs.excludeFilterFile>${project.basedir}/../src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile>
<jetty.version>9.4.46.v20220331</jetty.version>
<jetty.version>10.0.11</jetty.version>
<gitHubRepo>jenkinsci/stapler</gitHubRepo>
</properties>

Expand Down

0 comments on commit 13505eb

Please sign in to comment.