summaryrefslogtreecommitdiff
path: root/classes/urlhelper.php
AgeCommit message (Collapse)Author
2021-03-06Fix "array offset on value of type null" for $error and $old_errorltGuillaume
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)
2021-03-01move version-related stuff to Config; fix conditional feed requestsAndrew Dolgov
2021-02-28move all $fetch globals to UrlHelperAndrew Dolgov
2021-02-23cleanup some defined-stuffAndrew Dolgov
2021-02-22migrate the rest into Config::Andrew Dolgov
2021-02-06fix several warnings reported by phpstanAndrew Dolgov
2021-02-05initial WIP for php8; bump php version requirement to 7.0Andrew Dolgov
2020-12-12Handle potential absence of a URL path in UrlHelper.wn
2020-11-14URLHelper: fix E_DEPRECATED error related to idn_to_ascii()Andrew Dolgov
2020-09-28validate url: feed urlencoded() URL to filter_var() onlyAndrew Dolgov
2020-09-22another hack for validation of URLs with invalid charactersAndrew Dolgov
2020-09-22validate URLs: convert IDN to punycode before passing URL to filter_var()Andrew Dolgov
2020-09-22use self:: in some places to invoke static methods from the same classAndrew Dolgov
2020-09-22- don't fail on non-ascii characters when validating URLsAndrew Dolgov
- fix IDN hostnames not being converted properly
2020-09-22fix previous re: resolve_redirectsAndrew Dolgov
2020-09-22remove a lot of stuff from global context (functions.php), add a few helper ↵Andrew Dolgov
classes instead