don't check hostname if we use data uri