Skip to content

Commit

Permalink
Bump Jetty from 9.4.45.v20220203 to 10.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Feb 13, 2022
1 parent 8021bd7 commit 88bf544
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion Jenkinsfile
Expand Up @@ -4,7 +4,6 @@
* allowing one to test against multiple Jenkins versions.
*/
buildPlugin(useContainerAgent: true, configurations: [
[ platform: 'linux', jdk: '8' ],
[ platform: 'linux', jdk: '11' ],
[ platform: 'windows', jdk: '11' ]
])
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.45.v20220203</jetty.version>
<jetty.version>10.0.7</jetty.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 88bf544

Please sign in to comment.