AdguardTeam / AdguardTeam/FiltersCompiler

Our current exclusion does not remove `! Redirect:` directive

Open
#150 4 comments 0 reactions 1 assignee Claimed by @maximtop View on GitHub
Dominant language
JavaScript
Stars
64
Forks
11
PR merge metrics
No merged PRs in 30d

Description

To reproduce it:
1. Add [my filter](https://raw.githubusercontent.com/zloyden/fox/master/123.txt) via `@include` to any template of the filter. For instance, Dandelion Sprout Annoyances
```
@include "https://raw.githubusercontent.com/zloyden/fox/master/123.txt" /exclude="../../exclusions.txt"
```
2. Run the filter build
3. It does not work, but it should work due to exclusion `Redirect:`

Please also check that [this Regex](https://regex101.com/r/5DGFet/1) should also apply and remove the redirect directive.

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.