Skip to content

Commit

Permalink
Bump Jetty from 9.4.44.v20210927 to 10.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Dec 19, 2021
1 parent a6d7459 commit e31c1fd
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 @@ -60,7 +60,7 @@
<changelist>999999-SNAPSHOT</changelist>
<scmTag>HEAD</scmTag>
<spotbugs.excludeFilterFile>${project.basedir}/../src/spotbugs/spotbugs-excludes.xml</spotbugs.excludeFilterFile>
<jetty.version>9.4.44.v20210927</jetty.version>
<jetty.version>10.0.7</jetty.version>
</properties>

<build>
Expand Down

0 comments on commit e31c1fd

Please sign in to comment.