[GH-ISSUE #397] DNSBlock: Cannot read properties of undefined (reading 'replace') #196

Closed
opened 2026-03-04 01:35:30 +03:00 by kerem · 1 comment
Owner

Originally created by @0vercl0k on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/spr-networks/super/issues/397

If I try adding the following list (afaict Blocklist is stale / doesn't seem to be active anymore 🤷🏼 ) blocklist (via the web UI, haven't tried via iOS), SPR will then fail to load the dnsBlock page with the following error: Cannot read properties of undefined (reading 'replace') at renderItem (DNSBlocklist.js:477:18).

As far as I can tell the format of the list seems to match BlockList's but maybe not, or the problem is coming from somewhere else.

To get the page loading again I remove the entry in the config/dns/block_rules.json from SSH.

Cheers

Originally created by @0vercl0k on GitHub (Feb 9, 2025). Original GitHub issue: https://github.com/spr-networks/super/issues/397 If I try adding the following [list](https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/pro.txt) (afaict Blocklist is stale / doesn't seem to be active anymore 🤷🏼 ) blocklist (via the web UI, haven't tried via iOS), SPR will then fail to load the `dnsBlock` page with the following error: `Cannot read properties of undefined (reading 'replace') at renderItem (DNSBlocklist.js:477:18)`. As far as I can tell the format of the list seems to match BlockList's but maybe not, or the problem is coming from somewhere else. To get the page loading again I remove the entry in the `config/dns/block_rules.json` from SSH. Cheers
kerem closed this issue 2026-03-04 01:35:30 +03:00
Author
Owner

@0vercl0k commented on GitHub (Apr 23, 2025):

Cool this is fixed as well, thank you!

<!-- gh-comment-id:2822803379 --> @0vercl0k commented on GitHub (Apr 23, 2025): Cool this is fixed as well, thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/super#196
No description provided.