Relax path validation to only disallow consecutive / or .