Homec4science

Fix a fatal if a directory listing contains a non-file called 'readme'

Authored by epriestley <git@epriestley.com> on Aug 16 2012, 21:48.

Description

Fix a fatal if a directory listing contains a non-file called 'readme'

Summary: See T1665. If you have a directory named 'readme', we try to read it as a README.

Test Plan: Created a directory named 'readme', hit a similar fatal to the one in T1665, applied this patch, everything worked great.

Reviewers: btrahan, vrana

Reviewed By: vrana

CC: aran

Maniphest Tasks: T1665

Differential Revision: https://secure.phabricator.com/D3312

Details

Committed
epriestley <git@epriestley.com>Aug 16 2012, 21:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPH91d0d92a9fd7: Add a bunch of policy tests for projects
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH46f4f6cf0acb: Fix a fatal if a directory listing contains a non-file called 'readme' (authored by epriestley <git@epriestley.com>).Aug 16 2012, 21:48