Skip to content

More robust error checking in URL parsing #17

Open
@slime73

Description

@slime73

The URL parsing code (HTTPRequest::parseUrl) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example https:\\example.com might throw an exception related to stoi trying to parse a non-integer character, instead of saying something about the schema not being valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions