Blacklist wildcard fails on URLs with CaPs

Wildcard blacklist entries fail to block DNS queries if the URL includes capital letters. Seems like this would provide an easy way for malicious apps to bypass pi-hole. For example, here's what it I see in my query log:

TraCkeR.example.com Pi-holed (wildcard) /in red font
example.com Pi-holed (wildcard) /in red font
TRacKer.eXaMple.Com OK /in green font
tracker.exampLe.com OK /in green font

I discovered this when one of my kids downloaded a torrent file...

Thanks for your report. However, what you have found is not what you think:

Yes, the Query Logs show that those requests have been permitted, but they actually haven't. It is the Query Log page that fails showing the correct status here, not the Pi-hole itself (it will still block those domains).

The issue will be solved with our upcoming FTL backend, which improves performance and accuracy by a lot!

Exemplary screenshot: