Revision: 21908
          http://sourceforge.net/p/bibdesk/svn/21908
Author:   hofman
Date:     2018-02-12 23:06:53 +0000 (Mon, 12 Feb 2018)
Log Message:
-----------
Let web parser check for sub domains

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

Modified: trunk/bibdesk/BDSKLinkedBibTeXParser.m
===================================================================
--- trunk/bibdesk/BDSKLinkedBibTeXParser.m      2018-02-12 22:34:31 UTC (rev 
21907)
+++ trunk/bibdesk/BDSKLinkedBibTeXParser.m      2018-02-12 23:06:53 UTC (rev 
21908)
@@ -58,7 +58,7 @@
 + (void)postProcessItem:(BibItem *)item {}
 
 + (BOOL)canParseDocument:(DOMDocument *)domDocument xmlDocument:(NSXMLDocument 
*)xmlDocument fromURL:(NSURL *)url {
-    if ([url host] == nil || [[[url host] lowercaseString] 
isEqualToString:[self host]] == NO)
+    if ([url host] == nil || [[[url host] lowercaseString] hasSuffix:[self 
host]] == NO)
         return NO;
     
     NSError *error = nil;

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

Reply via email to