im always programming so defensively when in reality nobody will probably even be bothered enough to exploit anything..
anyways it correctly checks all these wrongly configured domains, maybe tomorrow I'll add a properly configured one (for real or on a testing DNS server) #pixie pages
These are the basics for #pixie pages supporting custom domains, that's the DNS related stuff mostly finished so it's just plugging this into the existing code now
it's some fun code I think, looking up the domain we were accessed from and checking various records as needed
https://git.pixie.town/f0x/pixie-pages/src/branch/main/src/custom-domain.js
i very actively think about ways people could exploit whatever i'm writing but it's easy to get too bogged down too I feel
and you'll probably look over the real exploits yourself anyways lol