mardi 2 mars 2021

has uncovered http methods for path: /

2021-03-02 18:52:52 [main] WARN o.e.jetty.security.SecurityHandler - ServletContext@o.e.j.w.WebAppContext@xxx{ROOT,/,file:///home/y/libexec/webapps/ROOT/,STARTING}{/home/y/libexec/webapps/ROOT} has uncovered http methods for path: /

and {WEB-INF,/WEB-INF,file:///home/y/libexec/webapps/WEB-INF/,STARTING}{/home/y/libexec/webapps/WEB-INF} has uncovered http methods for path: /

I added

<security-constraint>
    <web-resource-collection>
        <web-resource-name>Disable TRACE</web-resource-name>
        <url-pattern>/</url-pattern>
        <http-method>TRACE</http-method>
    </web-resource-collection>
    <auth-constraint/>
</security-constraint>
<security-constraint>
    <web-resource-collection>
        <web-resource-name>Enable everything but TRACE</web-resource-name>
        <url-pattern>/</url-pattern>
        <http-method-omission>TRACE</http-method-omission>
    </web-resource-collection>
</security-constraint>

in web.xml file. But these two still exist.




Aucun commentaire:

Enregistrer un commentaire