~finnekit

NYC

https://ericz.me


#59 Cache not invalidated when making a new wiki with the same file(s) 11 months ago

Ticket created by ~finnekit on ~sircmpwn/man.sr.ht

When creating a new wiki (or under a new user), using the same exact file that was used in another wiki, man.sr.ht serves the old wiki's page with the old wiki's relative links(redirecting to another wiki).

Mitigation: change the hash of the file.

Solution suggested by ddevault in #sr.ht: "we should incorporate the wiki ID into the hash"