Bugfix: Open URL opened Username in browser

This commit is contained in:
PhilippC 2013-05-11 22:11:42 +02:00
parent 7e0a4c9d20
commit 8238f9f76f
2 changed files with 4 additions and 1 deletions

View File

@ -587,7 +587,7 @@ namespace keepass2android
case Resource.Id.menu_goto_url: case Resource.Id.menu_goto_url:
String url; String url;
url = mEntry.Strings.ReadSafe (PwDefs.UserNameField); url = mEntry.Strings.ReadSafe (PwDefs.UrlField);
// Default http:// if no protocol specified // Default http:// if no protocol specified
if ( ! url.Contains("://") ) { if ( ! url.Contains("://") ) {

View File

@ -29,6 +29,7 @@ using Android.Content.PM;
using Android.Text; using Android.Text;
using Android.Text.Util; using Android.Text.Util;
using Android.Text.Method; using Android.Text.Method;
using KeePassLib.Serialization;
namespace keepass2android namespace keepass2android
{ {
@ -161,6 +162,8 @@ namespace keepass2android
StartActivityForResult(intent, 0); StartActivityForResult(intent, 0);
Finish(); Finish();
} }