darkreader / darkreader/darkreader

[Bug] Cant whitelist website URL with basic auth

Open
#6,825 1 comment 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

# Bug Report

## Bug Description
When visiting a website that has the basic auth in the URL the whitelist function does not work.

Example URL:
https://user:password@sub.domain.io/

The website will always use the dark mode even tho the domain sub.domain.io has been whitelisted

## Website Address
https://user:password@sub.domain.io/

## Steps To Reproduce
Go to a website using basic auth in the URL
Disable darkreader for the site
It wont turn off darkreader for the site

## Expected Behavior
It should turn off dark reader for the site

## Actual Behavior
It doesnt turn dark reader off for the site

## Screenshots

## System Information
I have experienced this on windows 10 with both Chrome and Brave.

- OS: WIndows 10
- Browser: Brave Version 1.29.81 Chromium: 93.0.4577.82 (Official Build) (64-bit)
- Dark Reader Version: 4.9.34

## Additional Context
no

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.