In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

@eldersnake@we.loveprivacy.club I just installed 127.0.1 (64-bit) tonight and tested and it worked just fine. Try upgrading and roll that commit back and see if it still repros? 🤔 I’m almost willing to bet this is a bug 🐛

⤋ Read More
In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

What browser and version is this btw? Not sure if you mentioned?

⤋ Read More
In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

Okay just pushed:

* aa2f3ae9 - (HEAD -> main, origin/main) Workaround for this invalid Referer BS (6 seconds ago) <James Mills>

⤋ Read More
In-reply-to » Should I just code in a work-around? If the Referer is /post then consider that total bullshit, and ignore? 🤔

@prologic@twtxt.net I was wondering if my reverse proxy could cause something but it’s pretty standard…

server {

    listen 80;
    server_name we.loveprivacy.club;
    location / {
            return 301 https://$host$request_uri;
            <a href="https://twtxt.net/search?q=tags:proxy_pass">#proxy_pass</a> http://127.0.0.1:8000;
    }

}
server {

    listen 443 ssl http2;
    server_name we.loveprivacy.club;

    ssl_certificate /etc/letsencrypt/live/we.loveprivacy.club/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/we.loveprivacy.club/privkey.pem;

    client_max_body_size 8M;

    location / {
            proxy_pass http://127.0.0.1:8000;
    }

}

⤋ Read More
In-reply-to » Test

A initial post, reply and conv -> post (bottom of page) and nothing 🤔 All 6 requests are POST /post followed by a GET <from> where ever I was coming from. Hmmm 🧐 This is nuts 🌰

⤋ Read More
In-reply-to » Yeah sorry just realised, but just checked again and the referrer is the same (/post) on either the POST or the GET 🤔

@eldersnake@we.loveprivacy.club Yeah no worries!

You can see here, at least, htmx knows what the current URL is:

HX-Current-URL: https://we.loveprivacy.club/conv/vcpt7gq
Referer: https://we.loveprivacy.club/post

But the freak’n browser is setting the wrong value for Referer. There is simply no way to be on the /post endpoint normally anyway.

⤋ Read More
In-reply-to » Yeah sorry just realised, but just checked again and the referrer is the same (/post) on either the POST or the GET 🤔

What Browser is this again? Does it happen with any other browser?

⤋ Read More