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

Escape custom group title. #11854

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

If the custom group title has an appostrophe then the js will break without this

Overview

Fixes a very obscure bug : when the Custom Group Title has an apostrophe in it the multiple tab display fails on a js error

Before

screenshot 2018-03-22 13 20 52

After

screenshot 2018-03-22 13 21 47

Technical Details

Smarty escaping escapes the appostrophe

Comments

If the custom group title has an appostrophe then the js will break without this
@colemanw colemanw merged commit 8dd36c0 into civicrm:master Mar 22, 2018
@colemanw
Copy link
Member

Not much to say about this one. Output should be escaped.

@eileenmcnaughton eileenmcnaughton deleted the custom_data_escape branch March 22, 2018 02:05
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.

3 participants