Skip to content

ECSoC_2026: Improve URL scanner input normalization and validation #201

Description

@Babin123456

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions