From b57a1820bd7ef1e835f1d76517a40b00c4742f9d Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Sat, 21 Mar 2009 19:35:20 +0000 Subject: [PATCH] small fix for jquery-faviconize-1.0.js to handle https properly git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5738 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/ui/js/jquery-faviconize-1.0.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/yacy/ui/js/jquery-faviconize-1.0.js b/htroot/yacy/ui/js/jquery-faviconize-1.0.js index 7391bddff..dda1a52ef 100644 --- a/htroot/yacy/ui/js/jquery-faviconize-1.0.js +++ b/htroot/yacy/ui/js/jquery-faviconize-1.0.js @@ -27,7 +27,7 @@ $(this).each(function() { var a = $(this); - var r = a.attr("href").match(/http:\/\/[a-z0-9.-]*(\/)?/i); + var r = a.attr("href").match(/http[s]*:\/\/[a-z0-9.-]*(\/)?/i); var r = r[0] + ((r[1] == null) ? "/" : ""); if(r) { if($.grep(e.exceptions, function(x) {x = (x.match(/\/$/) == null) ? x+"/" : x; return (x == r);}).length == 0) {