-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #12095 - prevent escaping of lookup key default value with ERB
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.
- Loading branch information
Dominic Cleal
committed
Oct 9, 2015
1 parent
e33ae20
commit bedfa61
Showing
2 changed files
with
67 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters