Advanced rules do not work if rule contains `www.` at the beginning
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);
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: @.***>
Yeah thanks for the heads up Adam!!!