Use sprintf in "Untrusted Host" exception