AdguardForiOS icon indicating copy to clipboard operation
AdguardForiOS copied to clipboard

Advanced rules do not work if rule contains `www.` at the beginning

Open AdamWr opened this issue 3 years ago • 2 comments

Issue Details

  • AdGuard version:
    • AdGuard for iOS v4.3.1(919)
  • Device model and storage size:
    • iPad mini
  • Operating system and version:
    • iOS15.2
  • Browser or App:
    • Safari

Steps to reproduce

  1. Add this rule to user rules:
www.example.org#%#alert(1);
  1. Open Safari and navigate to - https://www.example.org/

Expected Behavior

An alert should be displayed.

Actual Behavior

Alert is not displayed. It works fine if I add:

example.org#%#alert(1);

AdamWr avatar Jan 04 '22 12:01 AdamWr

Hi Adam,Have done as you asked & alert was displayed. Something else did happen though, which wasn?t expected & I?m hoping you can answer for me? My browser wouldn?t switch back to private (https) straight away. I had to reboot phone in order for it to work in safari again. Would you also be able to tell me wots gone on with my browser?! I only ask as it raised a lot of pulses with the websites I visit? Are you aware that I think I have a hacker in my iCloud ? Apple are aware & are now supporting me. He?s possibly installed an Apple Safari WebKit around a month ago? I found it by chance and immediately switched off some toggles as could see they weren?t for normal use. Thank you in advance for your help Kind regards,JayOn Tue, 4 Jan 2022 at 12:11, Adam @.***> wrote: Issue Details AdGuard version: AdGuard for iOS v4.3.1(919) Device model and storage size: iPad mini Operating system and version: iOS15.2 Browser or App:

Safari

Steps to reproduce Add this rule to user rules: www.example.org#%#alert(1);

Open Safari and navigate to - https://www.example.org/ Expected Behavior An alert should be displayed. Actual Behavior Alert is not displayed. It works fine if I add: example.org#%#alert(1);

?Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

iOSjNaGeR avatar Jan 04 '22 15:01 iOSjNaGeR

Yeah thanks for the heads up Adam!!!

iOSjNaGeR avatar Jan 06 '22 16:01 iOSjNaGeR