Skip to content

Conversation

nazarok
Copy link

@nazarok nazarok commented Jan 25, 2017

If I set caches_action :home, layout: false and the cache is not created, my action return a string that is not safe!
I added html_safe method, which is also used in http://apidock.com/rails/ActionController/Caching/Fragments/read_fragment

@poolpeggy
Copy link

Thanks for the fix, I've encountered the same issue.

antulik added a commit to antulik/actionpack-action_caching that referenced this pull request May 27, 2017
@PanfilovDenis
Copy link

+1 merge it!

@pavelloz
Copy link

pavelloz commented Nov 20, 2018

^ Agree, its much needed fix (forces us to fork the gem)

@ErvalhouS
Copy link

ErvalhouS commented Dec 24, 2018

This is a very serious bug that got fixed by #43 but the team hasn't uploaded the fix into RubyGems. If anyone is still having this issue just use github as the source for the gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants