From dc033d7b3485d15341b693667de1d99bcec29e7b Mon Sep 17 00:00:00 2001 From: saransh-2504 Date: Mon, 1 Dec 2025 21:29:36 +0530 Subject: [PATCH] Fix #4568: Correct MPL-2.0 badge rule to prevent false positives on ISC badges Signed-off-by: saransh-2504 --- src/licensedcode/data/rules/mpl-2.0_url_badge.RULE | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/licensedcode/data/rules/mpl-2.0_url_badge.RULE b/src/licensedcode/data/rules/mpl-2.0_url_badge.RULE index cdd46137ac3..712e42f5dc9 100644 --- a/src/licensedcode/data/rules/mpl-2.0_url_badge.RULE +++ b/src/licensedcode/data/rules/mpl-2.0_url_badge.RULE @@ -1,9 +1,12 @@ --- license_expression: mpl-2.0 is_license_reference: yes -ignorable_urls: - - https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg - - https://opensource.org/licenses/MPL-2.0 +relevance: 100 +notes: | + Updated to avoid false detection on ISC license badges. --- -[![License: {{MPL 2.0}}](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0) \ No newline at end of file +[![License: MPL 2.0]](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg) +MPL 2.0 +Mozilla Public License 2.0 +https://opensource.org/licenses/MPL-2.0