Fixes trailing slash url setting.