Closed rsilvav closed 3 years ago
Hi, Your bbrf server is up!?
Hi @rsilvav - this is expected behaviour. BBRF at the moment does not match example.com
to *.example.com
, as it doesn't consider it a strict subdomain.
So I would recommend adding example.com
as in scope explicitly.
I have some ideas about changing the default behaviour, but nothing concretely planned.
@honoki thanks for your answer!
Strictly speaking you're right, but programs with wide scope (like *.example.com) usually are implicitely including example.com (maybe they are wrong?)
It is an ambiguous, but in my opinion is better to send some out-of-scope reports than missing some implicitely-valid bugs. Maybe inverting the behaviour (example.com matches *.example.com unless example.com is out-of-scope) is an alternative.
For now i will follow your advice :)
When starting with a new program and defining scope only with:
bbrf scope in add *.example.com
trying to add the domain example.com will fail.
For replying the behaviour try:
bbrf new example bbrf use example bbrf inscope add *.example.com bbrf domain add example.com bbrf domains
Output will be empty.