mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-13 17:45:16 +00:00
In most cases, we want to return back to where we came from after performing an action. It's not safe to return to an arbitrary referer, so this streamlines using the util validator to verify the redirect and fall back on regular redirect params if the referer is outside our domain. |
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
isni.py | ||
log.py | ||
regex.py | ||
sanitizer.py | ||
validate.py |