Revision: 28239
          http://sourceforge.net/p/bibdesk/svn/28239
Author:   hofman
Date:     2023-04-22 16:26:04 +0000 (Sat, 22 Apr 2023)
Log Message:
-----------
escape path characters in cite key for x-bdsk URL, as the open command seems to 
have problems with colon

Modified Paths:
--------------
    trunk/bibdesk/BibItem.m

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2023-04-21 14:52:34 UTC (rev 28238)
+++ trunk/bibdesk/BibItem.m     2023-04-22 16:26:04 UTC (rev 28239)
@@ -3803,7 +3803,7 @@
 }
 
 - (NSURL *)bdskURL {
-    return [NSURL URLWithString:[NSString stringWithFormat:@"%@://%@", 
BDSKBibItemURLScheme, [[self citeKey] stringByAddingPercentEscapes]]];
+    return [NSURL URLWithString:[NSString stringWithFormat:@"%@://%@", 
BDSKBibItemURLScheme, [[self citeKey] stringByAddingPercentEscapesForPath]]];
 }
            
 @end

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to