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

It is possible to make a two-line rule via the clipboard #5009

Closed
3 of 4 tasks
ESurina opened this issue Oct 6, 2023 · 0 comments
Closed
3 of 4 tasks

It is possible to make a two-line rule via the clipboard #5009

ESurina opened this issue Oct 6, 2023 · 0 comments

Comments

@ESurina
Copy link

ESurina commented Oct 6, 2023

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

4.1 release, 4.2 Beta, 4.3 Nightly

Environment

- OS: Android 12
- Device: Xiaomi
- Firmware:

Root access

  • Yes, I have it.

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Type the two-line rule in any text editor
  2. Copy it to the clipboard
  3. Go to Protection tab -> Ad blocking -> User rules -> Add user rule
  4. Paste the rule from the clipboard
  5. Tap on Add

Expected Behavior

Line breaks between lines should be removed.

Actual Behavior

Two-line rule is added to User rules.

Screenshots

Screenshot 1:

image

Additional Information

The same problem is with DNS user rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants