Commit b5ab9ca8 authored by Gandalf's avatar Gandalf
Browse files

fix: Validate external URLs before rendering as links

Add isSafeExternalUrl utility to validate that URLs use http/https
protocol before rendering them as clickable links. This prevents
potentially malicious URL schemes from being used in href attributes.

Applied to Twitter profile links from third-party API responses.
parent b0db70a2
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment