Validate url before visiting
What does this MR do and why?
Checks whether the visited URL is safe or not before visiting. If it's not, the function now throws an error.
Screenshots or screen recordings
Nothing changes visually.
How to set up and validate locally
This is mostly a change that won't affect the functionality. But to test it you can:
- Run tests locally
- Perform an operation that uses
visitUrl
(for instance, if you create an issue from a finding in the Mr security reports it'll usevisitUrl
to take you to the issue page).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.