summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2017-09-01 15:26:03 (GMT)
committerSamantha Houts <samantha.houts@xamarin.com>2017-09-15 00:55:12 (GMT)
commit2dd8294349bf5c3a66e2292b454ebf6b833549bc (patch)
treed2355500c5d89108ac6a18714fef985ef411e249 /Xamarin.Forms.Platform.iOS
parent35375bc2dc217fe93efc446a82fb6c111d05aa8e (diff)
downloadxamarin-forms-2dd8294349bf5c3a66e2292b454ebf6b833549bc.zip
xamarin-forms-2dd8294349bf5c3a66e2292b454ebf6b833549bc.tar.gz
xamarin-forms-2dd8294349bf5c3a66e2292b454ebf6b833549bc.tar.bz2
[iOS] Make sure to include query path on generated url (#1119)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Forms.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Forms.cs b/Xamarin.Forms.Platform.iOS/Forms.cs
index ca1e2cf..d7455a8 100644
--- a/Xamarin.Forms.Platform.iOS/Forms.cs
+++ b/Xamarin.Forms.Platform.iOS/Forms.cs
@@ -252,7 +252,7 @@ namespace Xamarin.Forms
public void OpenUriAction(Uri uri)
{
- var url = NSUrl.FromString(uri.ToString()) ?? new NSUrl(uri.Scheme, uri.Host, uri.LocalPath);
+ var url = NSUrl.FromString(uri.OriginalString) ?? new NSUrl(uri.Scheme, uri.Host, uri.PathAndQuery);
#if __MOBILE__
UIApplication.SharedApplication.OpenUrl(url);
#else