summaryrefslogtreecommitdiff
path: root/plugins/af_proxy_http
AgeCommit message (Collapse)Author
2021-02-05initial WIP for php8; bump php version requirement to 7.0Andrew Dolgov
2020-10-11Ensure proxy_all setting is saved in database.JustAMacUser
2020-09-22remove a lot of stuff from global context (functions.php), add a few helper ↵Andrew Dolgov
classes instead
2020-09-17* use get_random_bytes() for CSRF tokenAndrew Dolgov
* get_random_bytes: use PHP7 random_bytes() if it is available * validate CSRF token using hash_equals
2020-09-15af_proxy_http: require separate token to access imgproxyAndrew Dolgov
2020-09-15af_proxy_http: never print received data directly, always redirect to cached_urlAndrew Dolgov
cache/getUrl: basename() passed filename just in case
2020-09-14- fix multiple vulnerabilities in af_proxy_httpAndrew Dolgov
- fix vulnerability in rewrite_relative_url() which prevented some URLs from being properly absolutized - fetch_file_contents: validate all URLs before requesting them - validate URLs: explicitly whitelist http and https scheme, forbid everything else - DiskCache/cached_url: only serve whitelisted content types (images, video) - simplify filename/URL handling code, remove and consolidate some less-used functions
2019-08-15pluginhost: add helper methods to get private/public pluginmethod endpoint URLsAndrew Dolgov
2019-08-15fix several leftover mentions of old (renamed) class name, duhAndrew Dolgov
2019-08-15af_zz_imgproxy: rename to af_proxy_http, use priority hook loaderAndrew Dolgov