Currently the context prefix is used as is in the redirect manager (
|
rulePattern = RedirectRule.toRegex(contextPrefix + rulePattern.toString(), nc); |
). This does not work well if the context prefix contains characters which require quoting in regular expressions (like
.). So the context prefix should always be treated as literal and therefore be prefixed to the pattern with
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#quote-java.lang.String-