Login required + internal href in global notice causes hang


(David O'Dea) #1

When a href link to an internal page is inserted into the global notice setting, example:

CS @Uni - currently only open to 2BCT students in NUI Galway. It will be student run so if you'd like to help, get <a href= "https://domain.org/users/username/summary"> Get in touch! </a>

…whilst login required setting is enabled, it causes Discourse to hang.

Could we enforce a re-direct to /login as is the current case (for login/sign up buttons) if any other link is clicked. ?

Also, is having a site setting whereby global notice can be displayed/not displayed whilst login required is enabled/disabled a possibility ?

EDIT This behaviour also occurs when going to /about URL when login is required .