1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

fake redirection by iframe...

This commit is contained in:
psyc://loupsycedyglgamf.onion/~lynX 2020-10-23 13:22:39 +02:00
parent 5c859e6fef
commit 0a7f208a72
6 changed files with 114 additions and 35 deletions

View file

@ -474,7 +474,7 @@ _request_set_topic(source, mc, data, vars, b) {
#if HAS_PORT(HTTP_PORT, HTTP_PATH) || HAS_PORT(HTTPS_PORT, HTTP_PATH)
// for GDPR compliance server owners are expected not to log these messages
htnotify(query, headers, mc, fmt) {
htnotify(query, headers, mc, fmt, acct) {
if (query["from"] == "") query["from"] = 0;
if (query["location"] == "") query["location"] = 0;
@ -484,7 +484,7 @@ htnotify(query, headers, mc, fmt) {
([ "_web_referrer" : query["from"] || "bookmark",
"_web_page" : query["location"] || headers["referer"] || "",
"_web_browser" : headers["user-agent"] || "",
"_web_on" : query["location"] || headers["referer"] ||
"_web_on" : acct || query["location"] || headers["referer"] ||
headers["user-agent"] || "",
"_web_from" : query["from"] ||
query_ip_name(this_interactive()) ||