forked from MarseyWorld/MarseyWorld
justcool393
6dbad04f08
through some reason or another, people are somehow getting cookies that aren't prepended with a dot. this is a problem because both sessions at, as best as I can tell, mix so it tries to read from a different cookie than we write to. this essentially "freezes" the session in place. users are unable to login, logout, signup, toggle poor mode, toggle NSFW, etc. ~~this attempts to delete bad session cookies (i.e. cookies with a domain that don't start with a dot).~~ ~~we don't do this on "dotless" domains (and by extension localhost) because browser support for setting cookies on FQDNs that only have one dot has tenuous support among browsers anyway).~~ ~~this *may* log some people out, but... their days of being able to do stuff on the site were numbered anyway.~~ **edit: as amazing as this thought was, browsers just wipe the entire cookies completely and there's no way to specifically target dotless cookies. for an issue that affects a few users, better to just tell them to clear their cookies. if *this* doesn't work, delete service-worker.js and be done with the whole service worker crap. forever. permanently. this PR also includes some QOL improvements.** Co-authored-by: justcool393 <justcool393@gmail.com> Reviewed-on: rDrama/rDrama#50 Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net> Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net> |
||
---|---|---|
.. | ||
__init__.py | ||
admin.py | ||
allroutes.py | ||
asset_submissions.py | ||
awards.py | ||
casino.py | ||
chat.py | ||
comments.py | ||
errors.py | ||
feeds.py | ||
front.py | ||
giphy.py | ||
hats.py | ||
jinja2.py | ||
login.py | ||
lottery.py | ||
mail.py | ||
notifications.py | ||
oauth.py | ||
polls.py | ||
posts.py | ||
push_notifs.py | ||
reporting.py | ||
routehelpers.py | ||
search.py | ||
settings.py | ||
special.py | ||
static.py | ||
streamers.py | ||
subs.py | ||
users.py | ||
votes.py | ||
wrappers.py |