Skip to content

Form\Control::onChange() should not accept JS code as string#1999

Merged
mvorisek merged 6 commits intodevelopfrom
no_implicit_string_to_js
Feb 18, 2023
Merged

Form\Control::onChange() should not accept JS code as string#1999
mvorisek merged 6 commits intodevelopfrom
no_implicit_string_to_js

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Feb 18, 2023

passing JS code as string is dangerous

BC break should be minimal as used in Form\Control::onChange() method only

@mvorisek mvorisek changed the title Form\Control::onChange() should not accept JS as string Form\Control::onChange() should not accept JS code as string Feb 18, 2023
@mvorisek mvorisek force-pushed the no_implicit_string_to_js branch from bd180b4 to eeded47 Compare February 18, 2023 13:13
@mvorisek mvorisek force-pushed the no_implicit_string_to_js branch from eeded47 to 5aae029 Compare February 18, 2023 13:24
@mvorisek mvorisek marked this pull request as ready for review February 18, 2023 13:29
@mvorisek mvorisek merged commit 1f049b9 into develop Feb 18, 2023
@mvorisek mvorisek deleted the no_implicit_string_to_js branch February 18, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant