Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make filepaths with null byte fail #2583
This patch applies to several methods that deal with filepaths in Dir,
Some of these methods are also slightly refactored, mostly by replacing
After http://jira.codehaus.org/browse/JRUBY-4828, at least File.read raised a SecurityError with the same message but the current 1.7 branch doesn't seem to have any of these checks.