af_refspoof
af_refspoof copied to clipboard
This is a set of updates to work with current ttrss. * Used public functions instead of plugin functions like api_resize does * https://community.tt-rss.org/t/question-about-csrf-in-plugin-handler/4939/2 * switch from `HOOK_RENDER_ARTICLE_CDM` to `HOOK_ARTICLE_FILTER`...
Got a bunch of issues trying to use this on ttrss from six months ago (324aef9f6f80e7d1b34f1af2487ab03eebc66f47) I fixed some of it with this: ```diff diff --git a/init.php b/init.php index 7f911c1..ae66293...
That results in a non-working plugin: /backend.php?op=pluginhandler&method=redirect&plugin=af_refspoof&url=http://www.xrel.to/nfo-render.html?nfo=927031&secret=ff2fd7d2&font=2&uniq=c90fd3b2&ref=http://www.xrel.to/movie-nfo/927031/Die-Pinguine-aus-Madagascar-German-DL-AC3-Dubbed-1080p-BluRay-x264-PsO.html The params "secret" , "font" and "uniq" are not urlencoded so the backend.php thinks they are for them and ignores them.