You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If settings.SERVER_HOST contains a trailing forward slash then links a generated with a duplicate forward slash, breaking the link. I've seen this for authorization links, registration links and reset password links in utils.py :
If
settings.SERVER_HOST
contains a trailing forward slash then links a generated with a duplicate forward slash, breaking the link. I've seen this for authorization links, registration links and reset password links inutils.py
:farmOS-aggregator/backend/app/app/utils.py
Lines 184 to 185 in 8285090
It may be easiest to validate
settings.SERVER_HOST
to always have a trailing/
. Then we can useurllib.parse.urljoin(base, url)
to build the link.The text was updated successfully, but these errors were encountered: