remove any trailing '/' from the URL before validation and acceptance