AdguardTeam / AdguardTeam/FiltersCompiler

Invalid conversion to uBO syntax - added redundant modifiers to `$reidrect` rules

Open
#261 5 comments 1 reaction 0 assignees View on GitHub
bug Priority: P4
Dominant language
JavaScript
Stars
64
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```adblock
/\/\d{3}$/$xmlhttprequest,redirect=nooptext,domain=rucelka.com
```

is converted to

```adblock
/\/\d{3}$/$xmlhttprequest,redirect=noop.txt,domain=rucelka.com,image,media,subdocument,stylesheet,script,xmlhttprequest,other
```

URL of the filter: https://filters.adtidy.org/extension/ublock/filters/1.txt

Why this part was added?
`image,media,subdocument,stylesheet,script,xmlhttprequest,other`
also `xmlhttprequest` is duplicated because of it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.