Fixed
Project:
SMS Link Field
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jul 2026 at 17:01 UTC
Updated:
24 Jul 2026 at 17:02 UTC
Jump to comment: Most recent
SmsLinkItem is missing all link validation constraints. PHP attributes don't inherit from parent to child class, so SmsLinkItem's #[FieldType] attribute (not re-specifying constraints) silently dropped LinkType/LinkAccess/LinkExternalProtocols/LinkNotExistingInternal — meaning sms_link fields accepted any URI unvalidated, including javascript:.
Explicitly re-declare the same constraints core's LinkItem uses.
Comments
Comment #3
ipwa commented