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

Do not double-escape JSON #371

Merged
merged 1 commit into from Sep 5, 2019
Merged

Do not double-escape JSON #371

merged 1 commit into from Sep 5, 2019

Conversation

mjgiarlo
Copy link
Member

@mjgiarlo mjgiarlo commented Sep 5, 2019

Refs sul-dlss/argo#1463

Calling #to_json on a string before rendering it with the built-in JSON renderer causes a double-escaping to happen.

Also, remove duplicate rubocop exception

@mjgiarlo mjgiarlo added this to Needs Review in Infrateam Aug-Sep 2019 via automation Sep 5, 2019
@coveralls
Copy link

coveralls commented Sep 5, 2019

Coverage Status

Coverage remained the same at 97.302% when pulling 7890103 on double_json_escaping into ec42ab3 on master.

Refs sul-dlss/argo#1463

Calling `#to_json` on a string before rendering it with the built-in JSON renderer causes a double-escaping to happen.

Also, remove duplicate rubocop exception
@ndushay ndushay merged commit f931177 into master Sep 5, 2019
Infrateam Aug-Sep 2019 automation moved this from Needs Review to Done Sep 5, 2019
@ndushay ndushay deleted the double_json_escaping branch September 5, 2019 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants