Issue Summary
Portal inconsistently handles a url with two //, allowing users to take actions (sign-up, change name, get magic link etc), but will not let the user close the Portal modal
Ran into an odd situation with an accidentally malformed portal URL.
So for example if you go to Tangle News, where there are two slashes before the # sign, the modal pops up and lets you submit an email address and get a magic link.
However, if you then try to close the modal, it generates an error message and the user can’t close it.
- What did you expect to happen?
Either not working at all or working fully.
Steps to Reproduce
-
Visit a portal url on a Ghost 5.59 site with // before the # sign. https://www.readtangle.com//#/portal/signin
-
Attempt to close the modal by clicking the X
Setup information
Ghost Version
5.59
How did you install Ghost?
Ghost Pro hosted.
Browser & OS version
Same behavior on Arc, Google, Firefox and Safari