Skip to content

Crashes if there are multiple query params #21

@whitebyte

Description

@whitebyte
parseURL("http://example.com?test1=some&test2=more");

Crashes with the following error:
url.URLException@../../.dub/packages/urld/3.0.1/urld/source/url.d(31): domain name 'example.com?test1=some&test2=other' contains illegal character '&' at position 22

Interestingly, I see that the lib handles URLS like this in unit tests:
https://example.org/this?query=value&other=value2
but it will fail with a simler version
https://example.org?query=value&other=value2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions