Guarded staging href rewrites against non hierarchical URI (eg mailto:
URI)