This website requires JavaScript.
Explore
Help
Sign In
vincent
/
gerbeur
Watch
1
Star
0
Fork
0
You've already forked gerbeur
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
f1bc23a65e4036125258aed99e615e9f468068a9
gerbeur
/
api
/
middleware
/
og.ts
khannurien
683944ebe2
v4: a remote user's pages get their link previews and redirects — the Open Graph middleware passed on every path with a dot in it, taking it for a file's, and the handle of a user from a real host has dots (/@bob@music.example), so their profile, dumps and playlists had no tags, and a former name or another case of theirs no 301. Only the dev instances' localhost:8000 escaped it. parsePagePath already passes on any path that doesn't start with @, which no file's does, so the dot check is gone.
...
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com
>
2026-10-09 22:04:35 +00:00
6.2 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink