Skip to content

Commit

Permalink
Merge pull request #24 from TricycleStudios/master
Browse files Browse the repository at this point in the history
Fix for incorrect file attribute reporting of symlinked files in HTTPFileResponse
  • Loading branch information
robbiehanson committed May 12, 2012
2 parents 19e5306 + 5f6db24 commit 6db99c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Responses/HTTPFileResponse.m
Expand Up @@ -27,7 +27,7 @@ - (id)initWithFilePath:(NSString *)fpath forConnection:(HTTPConnection *)parent
connection = parent; // Parents retain children, children do NOT retain parents

fileFD = NULL_FD;
filePath = [fpath copy];
filePath = [[fpath copy] stringByResolvingSymlinksInPath];
if (filePath == nil)
{
HTTPLogWarn(@"%@: Init failed - Nil filePath", THIS_FILE);
Expand Down

0 comments on commit 6db99c3

Please sign in to comment.