mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-24 12:45:05 +02:00
feat: add etag support to getContents (#3893)
This commit is contained in:
parent
d5175aebcc
commit
191e5b0493
8 changed files with 42 additions and 31 deletions
|
@ -518,7 +518,10 @@ abstract class XPathAbstract extends BridgeAbstract
|
|||
if (strlen($value) === 0) {
|
||||
return '';
|
||||
}
|
||||
if (strpos($value, 'http://') === 0 || strpos($value, 'https://') === 0) {
|
||||
if (
|
||||
strpos($value, 'http://') === 0
|
||||
|| strpos($value, 'https://') === 0
|
||||
) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue