Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv4 - Fix type coersion of non-string input #18860

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

colemanw
Copy link
Member

Overview

Fixes APIv4 to not accidentally change non-string input to string.

Before

Non-string input treated as string, causing incorrect data type to be saved.

After

Only run html encoder on strings; it doesn't apply to other data types.

@civibot
Copy link

civibot bot commented Oct 26, 2020

(Standard links)

@civibot civibot bot added the master label Oct 26, 2020
@eileenmcnaughton eileenmcnaughton merged commit d6531ab into civicrm:master Oct 27, 2020
@colemanw colemanw deleted the fixEncode branch October 27, 2020 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants