Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
In IOSPlatformServices.OpenUriAction Uri.ToString is being called which returns a very strange usually incorrect human readable url which then NSUrl.FromString cannot correctly parse and returns null.
You can try to open "http://test.com/?data=%7B%22Customer%22%3A%7B%22FirstName%22%3Anull%2C%22LastName%22%3Anull%2C%22Email%22%3Anull%7D%2C%22Description%22%3Anull%7D" which is url encoded json. The link will open but the entire querystring will be gone.
This PR broke it: https://github.com/xamarin/Xamarin.Forms/pull/734
Created attachment 24463 [details]
The parameters in a URI are being stripped out when using Device.OpenUri() on iOS.
### Affected Platforms
### Steps to Reproduce
1. Run the attached repro project
2. Click on "With encoded Params"
### Expected Results
The web browser will open to the Bing search results page
### Actual Results
The web browser opens the Bing homepage because the search parameters were removed
### Version Test
Also try custom protocols - I recall getting weirdly formatted URIs using Uber's scheme, where an additional slash was inserted right after the protocal after parsing (so I ended up with uber:///?xxx). Here's a URI:
Should be fixed on 2.4.0-pre3