Revision: 21601 http://sourceforge.net/p/bibdesk/svn/21601 Author: hofman Date: 2017-10-27 16:51:15 +0000 (Fri, 27 Oct 2017) Log Message: ----------- make sure we don't get a file reference URL form a field
Modified Paths: -------------- trunk/bibdesk/BibItem.m Modified: trunk/bibdesk/BibItem.m =================================================================== --- trunk/bibdesk/BibItem.m 2017-10-27 16:39:02 UTC (rev 21600) +++ trunk/bibdesk/BibItem.m 2017-10-27 16:51:15 UTC (rev 21601) @@ -2654,6 +2654,8 @@ if([localURLFieldValue hasPrefix:@"file://"]){ // it's already a file: url and we can just build it localURL = [NSURL URLWithString:localURLFieldValue]; + if ([localURL isFileReferenceURL]) + localURL = [localURL filePathURL]; }else{ // the local-url isn't already a file URL, so we'll turn it into one This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit