| |
@@ -625,7 +625,8 @@
|
| |
}
|
| |
// Match by link on first parameter (legacy)
|
| |
if (licenses[key]["Magnet link"] === first.replace("&","&") ||
|
| |
- licenses[key]["URL"] === first.replace("&","&")) {
|
| |
+ licenses[key]["URL"] === first.replace("&","&") ||
|
| |
+ licenses[key]["URL"].replace("http://", "https://") === first.replace("&","&")) {
|
| |
return [true, `Recognized license: "${licenses[key]['Name']}".`];
|
| |
}
|
| |
}
|
| |
allow matching license URL strings by either http or https