Background
sanitizeUrl permits some dangerous schemes such as javascript: and data:. Reject them explicitly.
Files to modify (2-3)
src/utils/sanitize.ts
src/utils/socialUtils.ts
Acceptance Criteria
Implemented across the listed files
Unit/integration tests added or updated and passing
No regression; follows project coding standards
Background
sanitizeUrl permits some dangerous schemes such as javascript: and data:. Reject them explicitly.
Files to modify (2-3)
src/utils/sanitize.ts
src/utils/socialUtils.ts
Acceptance Criteria
Implemented across the listed files
Unit/integration tests added or updated and passing
No regression; follows project coding standards