mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +02:00
refactor: return proper response object (#4169)
This commit is contained in:
@@ -47,8 +47,10 @@ class CubariBridge extends BridgeAbstract
|
||||
*/
|
||||
public function collectData()
|
||||
{
|
||||
// TODO: fix trivial SSRF
|
||||
$json = getContents($this->getInput('gist'));
|
||||
$jsonFile = json_decode($json, true);
|
||||
|
||||
$jsonFile = Json::decode($json);
|
||||
|
||||
$this->mangaTitle = $jsonFile['title'];
|
||||
|
||||
|
Reference in New Issue
Block a user