I'm not sure if I'm doing this incorrectly, but I'll outline what I'm seeing.
I'm calling LEOrder::getPendingAuthorizations on an order with a wildcard domain (eg. *.example.com), and a bunch of subdomains (eg. mysite.mydomain.com). I collect all authorizations in the following way:
This is so I can process http-01 challenges before falling back to dns-01 challenges (eg. for wildcard domains).
However, when I call $order->getPendingAuthorizations(LEOrder::CHALLENGE_TYPE_HTTP), I get an exception because the first authorization doesn't contain an http-01 challenge. I would have expected it to continue and find http-01 challenges in other authorizations.
As far as I can tell, this could be fixed by adding an exception handler in LEOrder.php on line 346:
I'm not sure if I'm doing this incorrectly, but I'll outline what I'm seeing.
I'm calling
LEOrder::getPendingAuthorizations
on an order with a wildcard domain (eg.*.example.com
), and a bunch of subdomains (eg.mysite.mydomain.com
). I collect all authorizations in the following way:This is so I can process
http-01
challenges before falling back todns-01
challenges (eg. for wildcard domains).However, when I call
$order->getPendingAuthorizations(LEOrder::CHALLENGE_TYPE_HTTP)
, I get an exception because the first authorization doesn't contain anhttp-01
challenge. I would have expected it to continue and findhttp-01
challenges in other authorizations.As far as I can tell, this could be fixed by adding an exception handler in
LEOrder.php
on line 346:Is this something I can submit a PR for, or am I not using it as intended?