Distinguish unwise and illegal uri characters