Skip to content

URIs.splitpath(::String) unexpected behaviour #37

Description

@fonsp
julia> URIs.splitpath(URIs.URI("https://asdf.com/a/b?x=y#z"))
2-element Vector{String}:
 "a"
 "b"

julia> URIs.splitpath("https://asdf.com/a/b?x=y#z")
5-element Vector{String}:
 "https:"
 ""
 "asdf.com"
 "a"
 "b"

Based on the documentation for splitpath, I expected both to return the same result.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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