**(#vxigktq) Okay just pushed:

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

  • aa2f3ae9 - (HEAD -> main, origin/main) Workaround for this invalid Referer BS (6 seconds ago)

⌘ [Read more](https://twtxt.net/twt/63d4eqq)

⤋ Read More

(#prvbjla) A initial post, reply and conv -> post (bottom of page) and nothing 🤔 All 6 requests are POST /post followed by a GET <from>
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 🧐

Download

This is nuts 🌰 ⌘ Read more

⤋ Read More

**(#x7czesa) @eldersnake Yeah no worries!

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

HX-Current-URL: https://we.lovepri ...**
[@eldersnake _@we.loveprivacy.club_](https://twtxt.net/external?uri=https://we.loveprivacy.club/user/eldersnake/twtxt.txt&nick=eldersnake) 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 ... ⌘ [Read more](https://twtxt.net/twt/34llvga)

⤋ Read More

(#vcpt7gq) The only way this is possible is if the Referrer is /post and not / or /discover like it should be. Can we confirm/deny this …
The only way this is possible is if the Referrer is /post and not / or /discover like it should be. Can we confirm/deny this if you inspect the POST /post requests? 🤔

See this code


if htmx.IsHTMX(r) {
  htmx.NewResponse().
  Location(RedirectRefererUR ... ⌘ [Read more](https://twtxt.net/twt/zzuntna)

⤋ Read More

(#2w6yh6a) But there should never ever be a GET /post – There is no handler/route for that, that will indeed 404, really strange you’re s …
But there should never ever be a GET /post – There is no handler/route for that, that will indeed 404, really strange you’re still seeing this? And what’s this login issue? ⌘ Read more

⤋ Read More

(#2w6yh6a) Upgraded my Go compiler and I’m still not able to reproduce those 404(s) you’re seeing. For clarity, this is what you expect to see i …
Upgraded my Go compiler and I’m still not able to reproduce those 404(s) you’re seeing. For clarity, this is what you expect to see in the server logs:


DEBU[0163] no subscriptions found for http://10.0.0.164:8000/user/admin/twtxt.txt
[yarnd] 2024/06/19 23:13:23 (10.0.0.164:64888) "POST /post HTTP/1.1" 200 0 8.323709ms
DEBU[0163] reloading templates in debug mode...
[yarnd] 2024/06/19 23 ... ⌘ [Read more](https://twtxt.net/twt/avrs5ua)

⤋ Read More