Provide a redirect warning when a link goes external sites

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Overview

Follow-up issue from the thread: Provide a redirect warning.

@leetickett-gitlab: We already have one in place when following mastadon links: app/controllers/external_redirect/external_redirect_controller.rb (see mastodon_url in app/helpers/application_helper.rb)

Click to expand

If you go to Raimund's profile: https://gitlab.com/stingrayza and click the mastodon link: image

I think the mastodon one was added because all of the other social links go to the relevant social site, but mastodon can take you anywhere.

Questions

  • When do we need to provide a redirection warning page when the link goes externally?
  • Do we have this pattern elsewhere?
Edited by 🤖 GitLab Bot 🤖