Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

small fix for jquery-faviconize-1.0.js to handle https properly

apfelmaennchenb57a1820bd7e
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) {