diff --git a/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml b/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml index a0c1c543bb44..545b0a5fa6cd 100644 --- a/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml +++ b/jetty-ee10/jetty-ee10-demos/jetty-ee10-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml @@ -13,11 +13,11 @@ org.eclipse.jetty.ee10.proxy.ProxyServlet$Transparent proxyTo - https://javadoc.jetty.org/jetty-12/index.html + https://javadoc.jetty.org/ hostHeader - www.eclipse.org + javadoc.jetty.org 1 true @@ -25,7 +25,7 @@ JavadocTransparentProxy - /current/* + /jetty-12/* diff --git a/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml b/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml index bc8de89bf799..75f2d4904ded 100644 --- a/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml +++ b/jetty-ee9/jetty-ee9-demos/jetty-ee9-demo-proxy-webapp/src/main/webapp/WEB-INF/web.xml @@ -13,11 +13,11 @@ org.eclipse.jetty.ee9.proxy.ProxyServlet$Transparent proxyTo - https://javadoc.jetty.org/jetty-12/index.html + https://javadoc.jetty.org/ hostHeader - www.eclipse.org + javadoc.jetty.org 1 true @@ -25,7 +25,7 @@ JavadocTransparentProxy - /current/* + /jetty-12/* diff --git a/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java b/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java index a27529f92c30..d1fa59a0afb3 100644 --- a/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java +++ b/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java @@ -602,7 +602,7 @@ public void testWebAppWithProxyAndJPMS(String env) throws Exception assertTrue(run2.awaitConsoleLogsFor("Started oejs.Server@", START_TIMEOUT, TimeUnit.SECONDS)); startHttpClient(() -> new HttpClient(new HttpClientTransportOverHTTP(1))); - ContentResponse response = client.GET("http://localhost:" + port + "/proxy/current/"); + ContentResponse response = client.GET("http://localhost:" + port + "/proxy/jetty-12/index.html"); assertEquals(HttpStatus.OK_200, response.getStatus(), () -> { StringBuilder rawResponse = new StringBuilder();