Recent commit dddcc5e9ad ensured a trailing "/" in the Origin header has no effect. This commit does the same for a trailing "/" in configured patterns. See gh-26892
dddcc5e9ad