aboutcode-org / aboutcode-org/scancode-toolkit

False positive: MPL-2.0 detected in dnspython README.md

Open
#4,568 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

Scanning the dnspython v2.6.1 README.md reports ISC AND MPL-2.0.
The file only contains an ISC license badge/link:
[![License: ISC](https://img.shields.io/badge/License-ISC-brightgreen.svg)](https://opensource.org/licenses/ISC)
There is no MPL-2.0 reference in the content.
This seems to come from the mpl-2.0_url_badge.RULE incorrectly matching the badge/link.

### How To Reproduce

git clone --depth=1 --branch v2.6.1 https://github.com/rthalley/dnspython.git
cd dnspython
scancode --license --json-pp result.json README.md

### System configuration

OS: macOS 15.6.1 (x86_64)
ScanCode Toolkit version: 32.4.1
Installation method: pip

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.