Skip to content
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

Closed
wants to merge 6 commits into from

Conversation

stanislav-atr
Copy link
Contributor

No description provided.

Copy link
Contributor

@slavaleleka slavaleleka left a 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

Copy link
Contributor

@slavaleleka slavaleleka left a 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

@stanislav-atr
Copy link
Contributor Author

version of the extension should be specified

@slavaleleka what exact version should be specified?

@slavaleleka
Copy link
Contributor

version of extension since which the modifier is supported, i.e. v4.1 does not support it yet

@stanislav-atr
Copy link
Contributor Author

version of extension since which the modifier is supported, i.e. v4.1 does not support it yet

what version will it be?

@slavaleleka
Copy link
Contributor

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.
Copy link
Member

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?

Copy link
Contributor Author

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пробел после запятой

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+ лишний после any requests

@ameshkov
Copy link
Member

Merged as a part of #209

@ameshkov ameshkov closed this Jun 21, 2023
@ameshkov ameshkov deleted the feature/AG-18660 branch September 19, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants