Obsolete
Status Update
Comments
sa...@google.com <sa...@google.com> #2
Thanks for the report Tolriq! Would it be possible for you to upload the APK built with D8 for which this fails? Is it possible to create a small reproduction project so that it is easier for us to reproduce?
Description
Example:
mailto:denys.nikolayenko@gmail.com?subject=E-classroom Support&body=%0D%0A%0D%0AUsername: denys.nikolayenko@gmail.com%0D%0AUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36%0D%0A"
The reason is that Uri.parse can not properly parse such url when mailto: scheme is stripped from the initial url.
Attached is patched version of the MailTo that is not using Uri.parse