mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +02:00
fix(cvedetails,tldrtech) (#3735)
This commit is contained in:
parent
143f90da60
commit
b6a9baff94
4 changed files with 75 additions and 79 deletions
|
@ -13,6 +13,7 @@ final class CloudFlareException extends HttpException
|
|||
'<title>Please Wait...',
|
||||
'<title>Attention Required!',
|
||||
'<title>Security | Glassdoor',
|
||||
'<title>Access denied</title>', // cf as seen on patreon.com
|
||||
];
|
||||
foreach ($cloudflareTitles as $cloudflareTitle) {
|
||||
if (str_contains($response->getBody(), $cloudflareTitle)) {
|
||||
|
|
|
@ -140,7 +140,7 @@ function _sanitize_path_name(string $s, string $pathName): string
|
|||
}
|
||||
|
||||
/**
|
||||
* This is buggy because strip tags removes a lot that isn't html
|
||||
* This is buggy because strip_tags() removes a lot that isn't html
|
||||
*/
|
||||
function is_html(string $text): bool
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue