Allow url to be specified without a trailing slash