[Bug] if SCW get a connection refused network error it replaces url of that tab with [data:text/html;charset=utf-8;base64,] after closing and opening SCW
Describe the bug
I use dns based adblockers.
Currently using this: (May be it get needed for you to reproduce the issue)
https://basic.rethinkdns.com/1:AAKAAA==
If i open a link in an article in new tab and then tab couldn't load it because of connection refused error
(my dns will response blocked queries with 0.0.0.0 so browser will show a connection refused Error)
The SCW won't keep its url after closing the browser and reopening and replace it with
data:text/html;charset=utf-8;base64,
To Reproduce
Steps to reproduce the behavior:
- Install Intra app
(https://play.google.com/store/apps/details?id=app.intra&hl=en&gl=US)
- Go to its settings and select custom dns server and paste this DoH URL:
https://basic.rethinkdns.com/1:AAKAAA==
-
Go to this reddit comment in SCW: https://reddit.com/comments/ky486s/comment/grgndyq
-
Open that "canyoublockit" link in a new tab.
-
Check its tab, you will see it show you an error that say connection refused.
-
Close SCW.
-
Open SCW again.
-
See that tab that couldn't load because dns blocked it.
-
You will see its URL is replaced with this:
data:text/html;charset=utf-8;base64,
Expected behavior
I think the URL should still be there in the URL bar and won't get replaced by that text i wrote above. (data:text/html;charset=utf-8;base64,)
Screenshots
Sorry i can't now, but let me know if you need it🌹
Device Info
- Device: i tested this on several devices, Huawei, LG, Sony
- OS: Android 8.1, Android 9, Android 6.
- App version: 15.0
(But from my experience, this issue isn't related to specific device, SCW behave same if it get connection refused error for any link that you try to open in a new tab.
But this won't happen if you open that link in same tab and close SCW and reopen it, the url won't get replaced, this just happenes when you open links in a new tab.
Also this isn't completely related to closing and reopening because sometimes i opened alot of links in new tabs and when i checked them, some of them got replaced with that text i wrote above. (data:text/html;charset=utf-8;base64,)
But as i can't find a way for you to reproduce that, i found this reproduce able bug so may be if you fix this, i hope that issue also get fixed.
Thank you very much
Additional context
Nothing. Thank you very much for your great efforts, great app, and thank you very much for everything.
Best wishes.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale
@CookieJarApps may you please consider fixing this? Thank you.
You can also test with any dns based blocker that response to blocked requests with 0.0.0.0
And this issue is still available in latest version.
Thank you so much.
@CookieJarApps
Hello May you please reopen this issue?