#156 Referrer check breaks with UTF-8 URLs