Skip to content

Remove htmlspecialchars calls from hidden input fields - #64

Merged
bluetom merged 1 commit into
Opencast-Moodle:MOODLE_405_STABLEfrom
adnbes:MOODLE_405_STABLE
Aug 30, 2025
Merged

Remove htmlspecialchars calls from hidden input fields#64
bluetom merged 1 commit into
Opencast-Moodle:MOODLE_405_STABLEfrom
adnbes:MOODLE_405_STABLE

Conversation

@adnbes

@adnbes adnbes commented Aug 28, 2025

Copy link
Copy Markdown

Hi,

consider removing the htmlspecialchars calls from hidden input fields, as html_writer::empty_tag already handles escaping attribute values, avoiding double escaping, which could otherwise lead to errors during signature verification.

…r::empty_tag already handles escaping attribute values, avoiding double escaping.
@bluetom
bluetom merged commit fbcee56 into Opencast-Moodle:MOODLE_405_STABLE Aug 30, 2025
9 checks passed
bluetom added a commit that referenced this pull request Sep 1, 2025
Remove htmlspecialchars calls from hidden input fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants