Skip to content

Regression in paths without hosts in v2.1.1 vs v2.1.0 #581

@russelltg

Description

@russelltg

The code

println!("{:?}", url::Url::parse("udp://:2223"));

Prints Ok("udp://:2223/") in v2.1.0, but now prints Err(EmptyHost) in v2.1.1. Is this an intended change? Is there any way I can get it to parse these hostless urls?

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