Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Compatibility with Rails LTS 2.3.18.16 #19

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

triskweline
Copy link

I apologize for making a PR for this very old branch.

We are still maintaining Rails 2.3. A patch CVE-2016-2098 has changed the default render type of render 'template' (it used to be render :file => 'template').

This also breaks the render_template matcher in this gem, which overrides the render method in ActionController to track which template has been rendered.

The attached commit repairs that matcher for recent versions of Rails LTS (1 line changed).

I wonder if you can be bothered to rake release this as a new version 1.3.5?

Again, sorry for this blast from the past.

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

Successfully merging this pull request may close these issues.

1 participant