HF RL Explorer

Task: Implement a Secure URL Sanitizer to Prevent XSS Attacks

Task: Implement a Secure URL Sanitizer to Prevent XSS Attacks: a task in Terminal-Lego-15k (Harbor dataset). Build a URL sanitization library that safely handles user-entered URLs, preventing XSS (Cross-Site Scripting) attacks while allowing legitimate URLs to pass through. This is for a…

The task

Build a URL sanitization library that safely handles user-entered URLs, preventing XSS (Cross-Site Scripting) attacks while allowing legitimate URLs to pass through. This is for a high-security application where users can submit URLs that will be displayed as clickable links to other users.

Part of PrimeIntellect/Terminal-Lego-15k.