Revision: 22796 http://sourceforge.net/p/bibdesk/svn/22796 Author: hofman Date: 2018-10-11 13:24:27 +0000 (Thu, 11 Oct 2018) Log Message: ----------- Resolve symlinks in path before getting base path, it is possible that the document file URL points to a symlink
Modified Paths: -------------- trunk/bibdesk/BibItem.m Modified: trunk/bibdesk/BibItem.m =================================================================== --- trunk/bibdesk/BibItem.m 2018-10-11 11:49:38 UTC (rev 22795) +++ trunk/bibdesk/BibItem.m 2018-10-11 13:24:27 UTC (rev 22796) @@ -2518,7 +2518,7 @@ #pragma mark URL handling - (NSString *)basePath { - return [[[[self owner] fileURL] path] stringByDeletingLastPathComponent]; + return [[[[[self owner] fileURL] URLByStandardizingPath] path] stringByDeletingLastPathComponent]; } - (void)basePathDidChange { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit