HomePhorge

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

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

Provenance
epriestleyAuthored on Aug 16 2012, 12:48 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP91d0d92a9fd7: Add a bunch of policy tests for projects
Branches
Unknown
Tags
Unknown

Event Timeline