Skip to content

Setting scheme does not work as expected #25

@jstewart

Description

@jstewart

Is this a bug?

Getting scheme works:

(-> "https://foo.bar" fish/uri fish/scheme str)
"https"

Changing scheme works:

user> (-> "https://foo.bar" fish/uri (fish/scheme "http") str)
"http://foo.bar"

Setting scheme when scheme was previously nil does not:

(-> "foo.bar" fish/uri (fish/scheme "http") str)
"http:foo.bar"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions