Clone
Marcin Cieslak
committed
on 20 Feb 24
LDEV-5440 Update CSRFGuard from 4.1.3 to 4.3.0-jakarta
Customisation was needed:
In CsrfGuardUtils use
public static String normalizeResourc… Show more
LDEV-5440 Update CSRFGuard from 4.1.3 to 4.3.0-jakarta

Customisation was needed:

In CsrfGuardUtils use

public static String normalizeResourceURI(final String resourceURI) {

        String normalizedResourceURI = resourceURI.startsWith("/") ? resourceURI : '/' + resourceURI;

        // LAMS LDEV-4932 Replace multiple slashes with a single one, so it works the same as Spring MVC

        normalizedResourceURI = normalizedResourceURI.replaceAll("/{2,}", "/");

        return normalizedResourceURI;

}

Also update WF module schemas.

Show less