changeset 18 | 4530440261a8 |
parent 0 | 84ad3b177aa3 |
child 31 | 868cceedabd3 |
--- a/browserui/browser/BrowserAppSrc/BrowserUtil.cpp Fri Jul 03 15:46:41 2009 +0100 +++ b/browserui/browser/BrowserAppSrc/BrowserUtil.cpp Thu Aug 27 07:42:55 2009 +0300 @@ -334,6 +334,9 @@ TInt spaces(0); TPtr ptr = aString->Des(); + //Trim leading and trailing spaces in URL before encoding spaces inside URL + ptr.Trim(); + for (TInt i = ptr.Length()-1; i > 0 ; i--) { if (ptr[i] == ' ')