- Aug 15, 2022
-
-
Andrew Dolgov authored
-
- Aug 14, 2022
- May 23, 2022
-
-
Andrew Dolgov authored
CURLAUTH_ANY as a fallback in case we got a 403.
-
- May 21, 2022
-
-
Siemenskun authored
-
Siemenskun authored
Move re-requesting logic before parsing response body, otherwise it puts HTTP headers into XML body
-
- Mar 22, 2022
-
-
Andrew Dolgov authored
-
Andrew Dolgov authored
-
Andrew Dolgov authored
-
Andrew Dolgov authored
* add some basic tests for UrlHelper::rewrite_relative() * fix UrlHelper::rewrite_relative() to work better on non-absolute relative URL paths
-
- Feb 18, 2022
-
-
Andrew Dolgov authored
rewrite_relative: prevent php warning when checking for unset content type in EXTRA_SCHEMES_BY_CONTENT_TYPE
-
- Feb 17, 2022
-
-
Andrew Dolgov authored
rewrite_relative: whitelist specific schemes for URLs with 'known' content-types i.e. specified for enclosures
-
- Dec 23, 2021
-
-
Andrew Dolgov authored
-
- Nov 24, 2021
-
-
Andrew Dolgov authored
-
- Nov 20, 2021
-
-
Andrew Dolgov authored
* errorhandler: don't try to truncate null strings * UrlHelper::rewrite_relative: fix undefined offset warnings for URLs that lack schema/host (data: etc)
-
- Nov 15, 2021
-
-
wn_ authored
-
- Nov 14, 2021
-
-
Andrew Dolgov authored
-
- Nov 12, 2021
-
-
wn_ authored
-
- Nov 11, 2021
- Nov 10, 2021
-
-
wn_ authored
-
- Nov 01, 2021
-
-
wn_ authored
Intentionally skipping the line 66 one for now; adding an 'is_array' check clears the warning, but there's a larger topic of how to handle an invalid '' that doesn't result in an array. ------ --------------------------------------------------------------------- Line classes/urlhelper.php ------ --------------------------------------------------------------------- 66 Offset 'path' on array{scheme: string} in isset() does not exist. 165 Parameter #2 $associative of function get_headers expects bool, int given. 167 Parameter #2 $associative of function get_headers expects bool, int given. 278 Negated boolean expression is always true. 309 Negated boolean expression is always true. ------ ---------------------------------------------------------------------
-
- Aug 23, 2021
-
-
Andrew Dolgov authored
remove SELF_USER_AGENT custom constant, replaced with configurable Config::HTTP_USER_AGENT / Config::get_user_agent()
-
- Jun 18, 2021
-
-
Philip Klempin authored
-
Andrew Dolgov authored
-
Andrew Dolgov authored
-
Andrew Dolgov authored
- support invoking specifying owner URL element/attribute - restrict mailto/magnet/tel schemes for A href - allow some data: base64 image types for IMG src Sanitizer::sanitize(): - when checking href and src attributes, pass element tagname and attribute to rewrite_relative()
-
- Jun 16, 2021
-
-
Philip Klempin authored
-
- May 21, 2021
-
-
Andrew Dolgov authored
-
Andrew Dolgov authored
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
-
- May 07, 2021
-
-
Andrew Dolgov authored
-
- Mar 13, 2021
-
-
Andrew Dolgov authored
* af_redditimgur: reparent generated iframes outside of post table
-
- Mar 06, 2021
-
-
ltGuillaume authored
I tried applying to only $error and only $old_error, but both appear to be needed. Log entries: E_NOTICE (8) classes/urlhelper.php:464 Trying to access array offset on value of type null 1. classes/urlhelper.php(464): ttrss_error_handler(8, Trying to access array offset on value of type null, classes/urlhelper.php, 464, [) 2. classes/rssutils.php(464): fetch([{"url":"https://some.url.rss","login":"","pass":"","timeout":15,"last_modified":"Sat, 31 Aug 2019 15:22:31 GMT"}) 3. update.php(235): update_rss_feed(732, 1)
-
- Mar 01, 2021
-
-
Andrew Dolgov authored
-
- Feb 28, 2021
-
-
Andrew Dolgov authored
-
- Feb 23, 2021
-
-
Andrew Dolgov authored
-
- Feb 22, 2021
-
-
Andrew Dolgov authored
-
- Feb 06, 2021
-
-
Andrew Dolgov authored
-
- Feb 05, 2021
-
-
Andrew Dolgov authored
-
- Dec 12, 2020
-
-
wn authored
-