module Jekyll

def self.sanitized_path(base_directory, questionable_path)

def self.sanitized_path(base_directory, questionable_path)
  clean_path = File.expand_path(questionable_path, fs_root)
  clean_path.gsub!(/\w\:\//, '/')
  unless clean_path.start_with?(base_directory)
    File.join(base_directory, clean_path)
  else
    clean_path
  end
end