Reject unterminated entries in the CoRE Link Format parser


resourcesFromCoreLinkList() extracted a link target with
parameterString.mid(1, length - 2), assuming the parameter was "<URI>"
and dropping the last character as the closing '>'. For an entry that
opens with '<' but has no closing '>', it silently dropped the last
character of the URI instead, producing a resource with a corrupted
path.

Only treat a parameter as a link target when it is bracketed at both
ends. An unterminated entry no longer sets a path and is dropped by
the existing empty-path check.

Task-number: QTBUG-149345
Pick-to: 6.12 6.11 6.8
Change-Id: I854a9e488b628f45627dff4c9e0fdf04662e6bcb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit3c8b49495c0d95873b0b1359a76f449560bd8f13
parent57ce6be4a1c457a15d666697d0e98c48f55ccd80
authorMate Barany <mate.barany@qt.io>
committerMate Barany <mate.barany@qt.io>
commit timeWed, 2 Sep 2026 07:31:09 +0000