fixes not accepted dots and slashes in URLs