Skip to content

Commit c7507d2

Browse files
committed
relax the Tomcat version check
1 parent 5e711eb commit c7507d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-web/src/main/java/org/opengrok/web/WebappListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void contextInitialized(final ServletContextEvent servletContextEvent) {
9595
int idx;
9696
if ((idx = serverInfo.indexOf('/')) > 0) {
9797
String version = serverInfo.substring(idx + 1);
98-
if (!version.startsWith("10.0")) {
98+
if (!version.startsWith("10.")) {
9999
LOGGER.log(Level.SEVERE, "Unsupported Tomcat version: {0}", version);
100100
throw new Error("Unsupported Tomcat version");
101101
}

0 commit comments

Comments
 (0)