This is required because Flask is forcing (via 301) / to be appended to the url which previously resulted in no rule matching legacy pages. We could disable strict_slashes to fix this, but it might cause issues elsewhere.