AdguardTeam / AdguardTeam/FiltersCompiler

Invalid conversion to uBO syntax - broken regexp in :matches-path()

オープン
#263 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
64
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

Broken regexp in `:matches-path()` - rexexp is split into two parts and added to different parts of the rule

Image

Original

```adblock
[$path=/\/[0-9A-Z_a-z]+\/status\/\d+/]x.com,twitter.com###layers[style="z-index: 1;"]:has(div[role="dialog"] a[href="/i/premium_sign_up"][style])
```

Converted to uBO

```adblock
+\/status\/\d+/]x.com,twitter.com##:matches-path(/\/[0-9A-Z_a-z)#layers[style="z-index: 1;"]:has(div[role="dialog"] a[href="/i/premium_sign_up"][style])
```

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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