mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
[HaveIBeenPwnedBridge] Fix item URIs (#2724)
This commit is contained in:
parent
e01f0bcaf2
commit
97b513823d
@ -38,8 +38,6 @@ class HaveIBeenPwnedBridge extends BridgeAbstract {
|
||||
|
||||
$data = json_decode(getContents(self::API_URI . '/breaches'), true);
|
||||
|
||||
$breaches = array();
|
||||
|
||||
foreach($data as $breach) {
|
||||
$item = array();
|
||||
|
||||
@ -48,7 +46,7 @@ class HaveIBeenPwnedBridge extends BridgeAbstract {
|
||||
. $pwnCount . ' breached accounts';
|
||||
$item['dateAdded'] = $breach['AddedDate'];
|
||||
$item['breachDate'] = $breach['BreachDate'];
|
||||
$item['uri'] = self::URI . '/PwnedWebsites' . $breach['Name'];
|
||||
$item['uri'] = self::URI . '/PwnedWebsites#' . $breach['Name'];
|
||||
|
||||
$item['content'] = '<p>' . $breach['Description'] . '</p>';
|
||||
$item['content'] .= '<p>' . $this->breachType($breach) . '</p>';
|
||||
|
Loading…
Reference in New Issue
Block a user