-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update compatibiltiy for $method modifier #204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version of the extension should be specified
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version of the extension should be specified
@slavaleleka what exact version should be specified? |
version of extension since which the modifier is supported, i.e. v4.1 does not support it yet |
what version will it be? |
I do not know what version it will be but it definitely should be specified. so the PR may be marked as WIP for now, isn't it? |
|
||
> **Compatibility with different versions of AdGuard** | ||
> | ||
> `$method` is available starting with CoreLibs v1.12. | ||
> Rules with the `$method` are supported by AdGuard for Windows, Mac, Android, **running CoreLibs v1.12 or later**, and AdGuard Browser extension for Chrome, Firefox, Edge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting with v4.2
or v4.3
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ameshkov v4.2, but we were considering adding TSUrlFilter version here, in a similar fashion as CoreLibs
|
||
**Examples** | ||
|
||
* `||evil.com^$method=get|head` blocks only GET and HEAD requests to `evil.com`. | ||
* `||evil.com^$method=~post|~put` blocks any requests except POST or PUT to `evil.com`. | ||
* `||evil.com^$method=~post|~put` blocks any requests to `evil.com`,except POST or PUT. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
пробел после запятой
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ лишний после any requests
Co-authored-by: Slava <[email protected]>
Co-authored-by: Sergei Gunchenko <[email protected]>
Merged as a part of #209 |
No description provided.