check if relative url contains a forward slash