From 8238f9f76f004839f63a83bd595e43b511dd1f3c Mon Sep 17 00:00:00 2001 From: PhilippC Date: Sat, 11 May 2013 22:11:42 +0200 Subject: [PATCH] Bugfix: Open URL opened Username in browser --- src/keepass2android/EntryActivity.cs | 2 +- src/keepass2android/KeePass.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/keepass2android/EntryActivity.cs b/src/keepass2android/EntryActivity.cs index 86090a01..d9eec7ce 100644 --- a/src/keepass2android/EntryActivity.cs +++ b/src/keepass2android/EntryActivity.cs @@ -587,7 +587,7 @@ namespace keepass2android case Resource.Id.menu_goto_url: String url; - url = mEntry.Strings.ReadSafe (PwDefs.UserNameField); + url = mEntry.Strings.ReadSafe (PwDefs.UrlField); // Default http:// if no protocol specified if ( ! url.Contains("://") ) { diff --git a/src/keepass2android/KeePass.cs b/src/keepass2android/KeePass.cs index 8286aefa..a7f0c831 100644 --- a/src/keepass2android/KeePass.cs +++ b/src/keepass2android/KeePass.cs @@ -29,6 +29,7 @@ using Android.Content.PM; using Android.Text; using Android.Text.Util; using Android.Text.Method; +using KeePassLib.Serialization; namespace keepass2android { @@ -161,6 +162,8 @@ namespace keepass2android StartActivityForResult(intent, 0); Finish(); + + }