Revision: 29592
          http://sourceforge.net/p/bibdesk/svn/29592
Author:   hofman
Date:     2025-09-16 16:26:24 +0000 (Tue, 16 Sep 2025)
Log Message:
-----------
remove percent encodings from url for display

Modified Paths:
--------------
    trunk/bibdesk/BDSKTextImportController.m
    trunk/bibdesk/BDSKWebView.m

Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m    2025-09-16 16:25:05 UTC (rev 
29591)
+++ trunk/bibdesk/BDSKTextImportController.m    2025-09-16 16:26:24 UTC (rev 
29592)
@@ -1016,6 +1016,8 @@
             title = [title substringToIndex:l];
         if ([NSString isEmptyString:title])
             title = NSLocalizedString(@"JavaScript", @"Default JavaScript 
alert title");
+        else
+            title = [title stringByRemovingPercentEncoding];
     }
     NSAlert *alert = [[NSAlert alloc] init];
     [alert setMessageText:title];

Modified: trunk/bibdesk/BDSKWebView.m
===================================================================
--- trunk/bibdesk/BDSKWebView.m 2025-09-16 16:25:05 UTC (rev 29591)
+++ trunk/bibdesk/BDSKWebView.m 2025-09-16 16:26:24 UTC (rev 29592)
@@ -710,6 +710,8 @@
             title = [title substringToIndex:l];
         if ([NSString isEmptyString:title])
             title = NSLocalizedString(@"JavaScript", @"Default JavaScript 
alert title");
+        else
+            title = [title stringByRemovingPercentEncoding];
     }
     NSAlert *alert = [[NSAlert alloc] init];
     [alert setMessageText:title];

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