darkreader / darkreader/darkreader

[BUG] Problem with "[" in any URL

Open
#4,731 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

### **Describe the bug**

Any Site with "[" in the URL-Path will get the Darkmode applied (Maybe just uses the standard-mode).
In Addition you can't unset Darkmode (No Reaction when clicking).
Note: "Closing" with ']' doesnt have any diffrent effect.
']' alone is not affected by this Bug.

### **Steps to reproduce**

- Go to any site with "[" in the Path (Not in Query-String)
- example-URL: https://github.com/darkreader/darkreader/issues/[ (This needs to be copied by hand, Github replaces '[' in the Link with "%5B")

### **System Information:**

- Browser: Chrome 87.0.4280.141
- Dark Reader version: 4.9.26

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.