jekyll/jekyll — pull request #2849 by parkr (2014-08-29 05:42:43+00:00)
Title: Use Jekyll.sanitized_path when adding static files to Collections.

h/t @benbalter https://github.com/jekyll/jekyll/pull/2737#discussion_r16713423
Not sure if the previous code can be exploited, but being super safe is never a bad thing.