aboutcode-org / aboutcode-org/scancode-toolkit

Wrong URL extraction for multi-line strings inside PO files

オープン
#3,946 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
bug email and url scan
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### Description

Extracting PO header values spread across multiple lines does not work and only considers the individual lines.

### How To Reproduce

Run URL analysis on https://github.com/django/django/blob/97c05a64ca87253e9789ebaab4b6d20a1b2370cf/django/contrib/admin/locale/en_GB/LC_MESSAGES/django.po

This will report `http://www.transifex.com/django/` as the URL instead of the full one, which would be `http://www.transifex.com/django/django/language/en_GB/`.

### System configuration

* What OS are you running on? Linux
* What version of scancode-toolkit was used to generate the scan file? 32.2.1
* What installation method was used to install/run scancode? (pip/source download/other) pip

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。