Not sure if it’ll help you but this is what we found when using IIS as reverse proxy.
Though we weren’t using IIS to do the re-writing and instead used URL Rewrite Filter and it looks like you’ve done the same as us with double escaping and invalid characters.