Problem
The URL scanner only prepends https:// and relies mostly on backend errors for invalid input.
Current Behavior
Unsupported schemes and incomplete domains can lead to vague or delayed scan failures.
Why This Improvement Is Needed
Users should receive immediate, actionable feedback before a network request is made.
Proposed Solution
Add client-side URL normalization that accepts domains, blocks unsupported schemes, validates complete hostnames, and returns clear error messages.
Expected Outcome
Scanner input becomes more reliable and user-friendly while keeping backend validation intact.
Additional Notes
Backend validation remains the source of truth.
Problem
The URL scanner only prepends
https://and relies mostly on backend errors for invalid input.Current Behavior
Unsupported schemes and incomplete domains can lead to vague or delayed scan failures.
Why This Improvement Is Needed
Users should receive immediate, actionable feedback before a network request is made.
Proposed Solution
Add client-side URL normalization that accepts domains, blocks unsupported schemes, validates complete hostnames, and returns clear error messages.
Expected Outcome
Scanner input becomes more reliable and user-friendly while keeping backend validation intact.
Additional Notes
Backend validation remains the source of truth.