[java-idp-jetty-base] branch 12 updated: IDP-2285 Jetty 12 debug

Rod Widdowson rdw at steadingsoftware.com
Sat Jul 13 14:33:28 UTC 2024


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch 12
in repository java-idp-jetty-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=dc9bdbeb42ee995a3c37fe7a103b023fbae9fdb2

The following commit(s) were added to refs/heads/12 by this push:
     new dc9bdbe  IDP-2285 Jetty 12 debug
dc9bdbe is described below

commit dc9bdbeb42ee995a3c37fe7a103b023fbae9fdb2
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 13 15:32:20 2024 +0100

    IDP-2285 Jetty 12 debug
    
    https://shibboleth.atlassian.net/issues/IDP-2285
    
    jetty.base is a SystemProperty not a Property
    the static directory is offset from JettyBase, not JettyBase/..
---
 src/main/resources/jetty-base/webapps/static.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/jetty-base/webapps/static.xml b/src/main/resources/jetty-base/webapps/static.xml
index e803d0d..f4f90fc 100644
--- a/src/main/resources/jetty-base/webapps/static.xml
+++ b/src/main/resources/jetty-base/webapps/static.xml
@@ -8,7 +8,7 @@
   <Set name="handler">
     <New class="org.eclipse.jetty.server.handler.ResourceHandler">
       <Set name="baseResourceAsString">
-        <Property name="jetty.base"/>/<Property name="jetty.static.data.path" default="../static"/>
+        <SystemProperty name="jetty.base"/>/<Property name="jetty.static.data.path" default="static"/>
       </Set>
       <Set name="dirAllowed">false</Set>
     </New>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list