HTTP library not creating correct library link when a component is placed

Description

When placing a symbol from a httplib the library link is incorrect. This causes the ERC to throw an error that it could not find a symbol with the current symbol link. When the tools "edit symbol library links" is used, it creates a correct symbol link and thus no ERC error.

Steps to reproduce

  1. In schematic editor, open "Symbol library browser" and select a symbol. image
  2. Place the symbol in the schematic and run an ERC. image
  3. Click "Tools" -> "Edit symbol library links" and choose the same symbol. image
  4. The library link is now correct and the ERC will not report this error anymore. image

KiCad Version

Application: KiCad Schematic Editor x64 on x64

Version: 9.0.0, release build

Libraries:
	wxWidgets 3.2.6
	FreeType 2.13.3
	HarfBuzz 10.2.0
	FontConfig 2.15.0
	libcurl/8.11.1-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 32.0.101.6078

Build Info:
	Date: Feb 19 2025 17:46:53
	wxWidgets: 3.2.6 (wchar_t,wx containers)
	Boost: 1.86.0
	OCC: 7.8.1
	Curl: 8.11.1-DEV
	ngspice: 44
	Compiler: Visual C++ 1942 without C++ ABI
	KICAD_IPC_API=ON

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)