summaryrefslogtreecommitdiff
path: root/addons/website/tests/test_get_current_website.py
AgeCommit message (Collapse)Author
2019-02-06[FIX] website: allow scheme and port on domain (multi-website)Sébastien Theys
Before this commit, the website selection was not working when a scheme or port was encoded in the domain field. This was not obvious or natural for the user, because the easiest way to fill it was to copy/paste the URL from the browser. Now it works when scheme or port are encoded, it is even strongly recommended to actually encode them if they don't take a default value because they will be used when creating full URL to the website (typically when sending emails to clients where a link back is necessary). PR: #30000