URL path sanitizing added as an initialize-instance method for URLs.