BUG FIX: there will be messy codes when requesting some uncommon encoding uri.