summaryrefslogtreecommitdiff
path: root/plugins/af_proxy_http
AgeCommit message (Collapse)Author
2021-03-01hide version for bundled plugins because it's meaningless; for everything ↵Andrew Dolgov
else support showing version using git (if about[0] is null)
2021-02-28move all $fetch globals to UrlHelperAndrew Dolgov
2021-02-22migrate the rest into Config::Andrew Dolgov
2021-02-19 * switch to xhr.post() almost everywhereAndrew Dolgov
* call App.handlerpcjson() automatically on json request (if possible) * show net/log indicators in prefs
2021-02-18af_proxy_http: markup cleanupAndrew Dolgov
2021-02-17 * add (disabled) shortcut syntax for plugin methodsAndrew Dolgov
* add controls shortcut for pluginhandler tags * add similar shortcut for frontend * allow plugins to selectively exclude their methods from CSRF checking
2021-02-17af_proxy_http: don't try to proxy back to ourselvesAndrew Dolgov
2021-02-16replace a few more controls to new styleAndrew Dolgov
2021-02-16replace print_hidden with hidden_tagAndrew Dolgov
2021-02-15diskcache: unify namingAndrew Dolgov
2021-02-08remove PHPMD.UnusedFormalParameterAndrew Dolgov
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