When a user's blog link does not include the scheme (i.e., 'https://' or 'http://'), the redirect fails to work correctly. This issue occurs if the link is entered as just www.google.com or google.com, leading to an incomplete redirect.
Steps to Reproduce:
Go to a user's profile with a blog URL that doesn't include http:// or https://.
Click on the blog link in the user profile.
Observe that the redirect does not occur successfully.
Expected Behavior:
The blog link should redirect properly, even if the URL doesn't include the scheme (http:// or https://). The URL should be normalized automatically.
Screenshots:
Before clicking the blog link:
After clicking the blog link (incorrect redirect):
Additional Context:
This issue occurs because the scheme is not included in the URL, causing the browser to handle the link incorrectly. A possible fix would be to normalize the URL by prepending http:// or https:// if it's missing.
Description:
When a user's blog link does not include the scheme (i.e.,
'https://'
or'http://'
), the redirect fails to work correctly. This issue occurs if the link is entered as justwww.google.com
orgoogle.com
, leading to an incomplete redirect.Steps to Reproduce:
http://
orhttps://
.Expected Behavior:
The blog link should redirect properly, even if the URL doesn't include the scheme (
http://
orhttps://
). The URL should be normalized automatically.Screenshots:
Before clicking the blog link:
After clicking the blog link (incorrect redirect):
Additional Context:
This issue occurs because the scheme is not included in the URL, causing the browser to handle the link incorrectly. A possible fix would be to normalize the URL by prepending
http://
orhttps://
if it's missing.