The Custom Header Links theme component is refusing to update with a Matrix URL (https://matrix.to/#/#matrix-meta-chat:fedoraproject.org) due to validation errors. RGJ found a workaround by creating a permalink that redirects to the Matrix URL. However, Arkshine explained that the issue is caused by the double # in the URL, making it an invalid URI. Encoding the fragment (https://matrix.to/#/%23matrix-meta-chat:fedoraproject.org) resolves the issue. Arkshine suggests using the relaxed_parse function for theme object URL validation to make the component more flexible.
When updating to 3.4 the Custom Header links theme component refused to update because of a Matrix link like https://matrix.to/#/#matrix-meta-chat:fedoraproject.org. Error: The property at JSON Pointer '/3/url' must be a valid URL.
Once this link was removed, the update went fine, but adding the link back was impossible.