Skip to content

Empty host can lead to runtime panics #165

@twuebi

Description

@twuebi

the display implementation of the url type leads to runtime panics when the host is empty:

Image
thread 'main' panicked at library/std/src/io/mod.rs:648:17:
a formatting trait implementation returned an error when the underlying stream did not
stack backtrace:

ClientBuilder::default() constructs a client with empty host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed in release doc generation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions