adrienthebo/hiera-file — pull request #2 by marut (2012-06-19 08:44:11+00:00)
Title: Merge security check fixes from Igal

Previously, a user could pass a key such as "../../../../../../../../../etc/passwd" to hiera and expect to get back the puppetmaster's passwd file. This pull request addresses that potentiality by merging in code Igal and I worked on this afternoon which raises an exception if the evaluated absolute path to the key is outside of the evaluated absolute path to the datadir. This pull request would also merge in some refactoring for style and readability.