Skip to content

Bug(expr): Construction of a path by parts logic for uri isn't consistent #211

@mwiebe

Description

@mwiebe

Describe the bug

Construction of the path type by parts (from a list) should use the is_uri function instead of inventing its own logic.

Expected Behaviour

We should have unit tests covering this, and

} else if parts[0].contains("://") {
shouldn't use the parts[0].contains("://") logic, it should be consistent with other uri checks.

Current Behaviour

Inconsistent behavior for uri paths.

Reproduction Steps

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageA new issue that needs a first look

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions