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

fixes #12095 - prevent escaping of lookup key default value with ERB #2806

Closed
wants to merge 1 commit into from

Conversation

domcleal
Copy link
Contributor

@domcleal domcleal commented Oct 9, 2015

When the current default value is retrieved from a lookup key via
default_value_before_type_cast, do not re-dump values containing ERB as
they will not have been cast already. This prevents them being escaped
again in the Puppet class edit form, and matches LookupValue behaviour.

When the current default value is retrieved from a lookup key via
default_value_before_type_cast, do not re-dump values containing ERB as
they will not have been cast already.  This prevents them being escaped
again in the Puppet class edit form, and matches LookupValue behaviour.
@dLobatog
Copy link
Member

Merged as bedfa61, thanks @domcleal!

@dLobatog dLobatog closed this Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants