Two-way URL rewrite breaks when a URL scheme contains an uppercase character