Trailing slashes stripping

We could do this on an apache/nginx level, but it’s here to prevent
routing issues with minimal config on a server level.