Commit d9868cda by hy

.

parent 1ee01144
......@@ -12,7 +12,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-boot.version>2.7.14</spring-boot.version>
<spring-boot.version>2.7.8</spring-boot.version>
<truelicense-v4.version>4.0.3</truelicense-v4.version>
</properties>
......
......@@ -91,7 +91,8 @@ public class LicenseValidationFilter extends OncePerRequestFilter {
private boolean isInWhiteList(HttpServletRequest request) {
for (String uri : whiteList) {
if (this.pathMatcher.match(uri, request.getRequestURI())) {
String toMatch = request.getRequestURI().substring(request.getContextPath().length());
if (this.pathMatcher.match(uri, toMatch)) {
return true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment