Once again I have a question.
When I search the domain cdn.jsdelivr.net in the web interface of Pi-hole using Query Lists, I will not see any search results. Neither "Search partial match" nor "Search exact match".
Unfortunately, I can not test right now. Currently have no electricity after a thunderstorm!
Will test it tomorrow evening and post the result here.
thanxxxxx ....
Now for the test.
I tried using the developer tools to get the error on the track. But unfortunately, nothing is noticeable. I also tried to detect a bug by debugger. But here I lack the necessary experience to determine any mistake.
Anyway, it is like that now.
A search for cdn.jsdelivr.net by means of "Search partial match" continues to yield no result.
A search using "Search exact match" returns the correct indication "[i] No exact results found for cdn.jsdelivr.net within the block lists"
Annotation:
It suffices if I change only 1 character in the domain cdn.jsdelivr.net to cdn.jsdelxivr.net then the search works without errors using "Search partial match".
Never mind, I had a typo in my first test of this issue and I can confirm what you're seeing now. I'll come back to you when I found what is going wrong.
I don't know why that line is there, I'll admit its purpose is not clear to me, but the correct fix is to move L160-171 # Handle notices below L186, but before the line you posted. There is no code after the line you mentioned to handle a result-not-found so fixing it won't do anything.
EDIT 1 billion: To be clear, I have made changes to query.sh in 4.3.2 to fix issues with how we handle comments so master and 4.3.2 might be broken for different reasons. I am talking about the 4.3.2 version of query.sh.