#4706 - Symbol parameters need to be entity-decoded in semihtml markup

Identifier #4706
Issue type Minor issue (breaks specific functionality)
Title Symbol parameters need to be entity-decoded in semihtml markup
Status Completed
Handling member Chris Graham
Version 10.0.38
Addon core_rich_media
Description If you edit the Admin Zone home page with WYSIWYG on, it'll be re-saved in semihtml. However, the RSS block uses a URL to specify news to load containing ampersands, and this will have been entity-escaped. We need to therefore unentity-escape the block parameters.

This generalises to all symbols.

This is consistent with re-editing with WYSIWYG, where literal parameters would be edited with entity-encoding transparent to the user.
It does have the implication (trade off) that users hand-coding semihtml with block symbols will need to potentially double-escape any code that needs escaping. This is a very rare situation though.

Directives and language references are left untouched, as it is more likely users of this will want to have literal escaping as pass-through, plus there is no known real-world bug to be solved.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4706 (Symbol parameters need to be entity-decoded in semihtml markup) (ecfc431f) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated