Skip to content

Regression in URI.join #83

Open
Open
@casperisfine

Description

The logic of this code is questionable, but it has worked for a while and the behavior seem to have changed in the last couple weeks:

puts URI.join("http://example.com/", "//", "path")

3.2 and older:

http://example.com/path

3.3.0-dev:

http:///path

I'll try to figure out what caused this and provide a fix.

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