Reverts the help for OpenURL as per comments in bug #21659

git-svn-id: trunk@36934 -
This commit is contained in:
sekelsenmat 2012-04-20 15:03:06 +00:00
parent ffef0d3645
commit 18fb5b9362
2 changed files with 1 additions and 6 deletions

View File

@ -13,12 +13,6 @@ begin
Result := False;
if AURL = '' then Exit;
// A help for users which forget to properly encode their URLs
// See bug 21659 and see http://www.ietf.org/rfc/rfc1738.txt which says
// that spaces in URLs need to be encoded
if Pos(' ', AURL) > 0 then
AURL := StringReplace(AURL, ' ', '%20', [rfReplaceAll, rfIgnoreCase]);
{$IFDEF WinCE}
FillChar(Info, SizeOf(Info), 0);
Info.cbSize := SizeOf(Info);

View File

@ -79,6 +79,7 @@ function GetTickStep: DWord;
{$ENDIF}
function FindDefaultBrowser(out ABrowser, AParams: String): Boolean;
// Spaces in URLs need to be encoded as %20 Read http://www.ietf.org/rfc/rfc1738.txt
function OpenURL(AURL: String): Boolean;
function OpenDocument(APath: String): Boolean;