Skip to content

LinkifyHTML() doesn't exlude the bracket at the end of URLs.

Description

Some URLs in the footprint description are wrapped with brackets. However, the current regular expression in common/string_utils.cpp/LinkifyHTML() extracts these URLs with a bracket at the end of them, making the URLs invalid.
This can be fixed in !2195 (merged)

Steps to reproduce

  1. Open PCB Editor
  2. Click Place Footprints
  3. Search SW_DIP_SPSTx01_Slide_6.7x4.1mm_W6.73mm_P2.54mm_LowProfile_JPin and click it. 图片
  4. Click the datasheet URL in the description 图片
  5. The browser shows the URL is invalid

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 9.0.0, release build
Edited by wh201906