mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 15:56:10 +02:00
Opkman: Trim URL before parsing to prevent "Invalid protocol" error.
git-svn-id: trunk@53715 -
This commit is contained in:
parent
5b8fe624b4
commit
bc7f03b15a
@ -468,7 +468,7 @@ begin
|
||||
if (not FNeedToBreak) then
|
||||
begin
|
||||
JSON := '';
|
||||
if GetUpdateInfo(SerializablePackages.Items[I].DownloadURL, JSON) then
|
||||
if GetUpdateInfo(Trim(SerializablePackages.Items[I].DownloadURL), JSON) then
|
||||
begin
|
||||
if FUpdatePackage.LoadFromJSON(JSON) then
|
||||
AssignPackageData(SerializablePackages.Items[I])
|
||||
|
Loading…
Reference in New Issue
Block a user