Making registration handle url absolute instead of relative

  • teddirez
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #115723 by teddirez
Currently when an external link is entered into the registration url unless it is prefaced with the https it gets read as relative, which obviously doesn't work. Is there a way to force the output as absolute so that when the user enters www.example.com it doesn't mess up the format?

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 11 months ago #115795 by Tuan Pham Ngoc
Hi

Sorry but there is no reliable way for that. So if you use external registration handle URL, please make sure you enter full url (with http / https)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • teddirez
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #115805 by teddirez
despite making tutorial videos and adjusting the help text to say include https:// , other members still fail to include it. I added some placeholder text as well to hopefully mitigate the problem. Was hoping there'd be a more user friendly way.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
6 years 11 months ago #115808 by Tuan Pham Ngoc
Maybe we can improve it. So in case someone doesn't enter http or https, what should be added?

http or https? I ask this because we could not sure that a site is available in https, so I guess adding http should be more safe

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • teddirez
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #115812 by teddirez
Agreed, http seems the logical solution as most sites will redirect to https anyway if available.
Of course then there's the reverse issue of what if someone then includes the http in the text box. It would obviously have to be stripped out.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc