Hi!
I'm using subst_hf to add some extra info to contact
subst_hf("Contact", "/^(.*)sip:(.*)@(.*)$/\1sip:encei$var(extra_info)-\2@\3/i", "f");
With combination of topos it's giving me strange results like
2(26) WARNING: sanity [sanity.c:282]: check_ruri_scheme(): failed to parse request uri [sip:encei302e3734-btpsh-5c6c00ac-2e-f@172.28.0.74><sip:encei302e3734-btpsh-5c6c00ac-2e-f@172.28.0.74]
Seems, it's doubling R-URI on in-dialog requests. If I'm disabling topos - all is ok.
What is interesting - this can't be reproduced with remove_hf/append_hf mechanisms.
![Sent from Mailspring](https://link.getmailspring.com/open/1550586684.local-b36753ba-2db7-v1.5.6-4cb1851b@getmailspring.com?recipient=c3ItdXNlcnNAbGlzdHMua2FtYWlsaW8ub3Jn)