Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Double forward slash (/) results in error 404 #454

@thompol

Description

@thompol

After a recent change in unpkg, the use of double slashes (//) in a URL stopped working. Instead of returning the file even though a double slash is used, unpkg returns a error 404.

Example where https://unpkg.com/@hpcc-js/[email protected]/dist/index.min.js tries to load a dependency and generates a URL with a double slash in it:
Image
Which results in this request:
Image

When removing one of the double slashes, the resource loads just fine.

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