Make URLValidator reject invalid characters in the username and password Description
Make URLValidator reject invalid characters in the username and password Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Since 20003, core.validators.URLValidator accepts URLs with usernames and passwords. RFC 1738 section 3.1 requires "Within the user and password field, any…
The task
Since #20003, core.validators.URLValidator accepts URLs with usernames and passwords. RFC 1738 section 3.1 requires "Within the user and password field, any ":", "@", or "/" must be encoded"; however, those characters are currently accepted without being %-encoded. That allows certain invalid URLs to pass validation…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.