Skip to content

std.Uri fails to parse on empty authority section so breaks file:/// scheme parsing #14825

@buzmeg

Description

@buzmeg

The "authority" section of a URL is allowed to be empty. In particular if the URL scheme is "file://", the authority section is expected to be empty.

This is a bug:

if (authority.len == 0)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions