- π¦πΊAustralia mstrelan
In a discussion on the original MR @tedbow pointed out that
\Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher::getSecurityAdvisories
is called with$allow_outgoing_request = FALSE
inhook_page_top
. When it's called fromhook_cron
andhook_requirements
this param isTRUE
.If I understand correctly, @catch originally suggested we add flood control to
system_cron
, but in light of the above I think we can put it in::getSecurityAdvisories
when the bool isTRUE
. - π¦πΊAustralia mstrelan
Made a start, needs some tests, should use DI too.