Skip to content
SprecherEast
Issue 835

CMS link custom address is not checked before it is saved

Back to our plan
Done
bugcmspriority: mediumscope-creep

Summary

The custom address on a CMS link is saved and rendered exactly as typed, while other editor-entered links are checked for an allowed form first.

Details

Found while writing the shared Payload note (#792). The link field's custom address has no validation, and the resolved link returns it unchanged, so an editor can save an address the site would not accept elsewhere. Other editor-entered links already use the shared address check.

Acceptance criteria

  • The custom address on a CMS link goes through the same shared check as other editor-entered links, with a test that starts failing first.
  • The note for shared Payload setup drops the matching Known gap.

Found by the note in #792.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab