Skip to content

FromStr impl for extra::url::Url drops the last digit of port #8612

Closed
@sfackler

Description

@sfackler

This program

extern mod extra;

use extra::url::Url;

fn main() {
    printfln!(FromStr::from_str::<Url>("scheme://host:1234"));
}

outputs

Some({scheme: ~"scheme", user: None, host: ~"host", port: Some(~"123"), path: ~"", query: ~[], fragment: None})

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