You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The while loop never ends.
Caused by the check if (is_array($data) && count($data) > 0) which will never be evaluated to true because $data is always a string.
So currently APIDataSource is usless
The text was updated successfully, but these errors were encountered:
The situation is worsening by the fact that this loop will try to query the external API as fast as possible as many times as possible, rendering the APIDataSource to a DOS machine :D
core/src/datasources/APIDataSource.php
Lines 212 to 238 in d356f3b
The while loop never ends.
Caused by the check
if (is_array($data) && count($data) > 0)
which will never be evaluated totrue
because$data
is always a string.So currently APIDataSource is usless
The text was updated successfully, but these errors were encountered: