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

Skip to content

Gateway Input Bug #73

@0xferit

Description

@0xferit

Passing a gateway with a trailing slash causes the program to generate a URI such as gateway/ipfs/path/ipfs/path instead of gateway/ipfs/path, basically duplicating the last two tokens. I observed this behavior with inputs "https://cdn.kleros.link" and "https://cdn.kleros.link/".

This function appears to have a bug.

URI manipulation should be debugged; ideally, we should create tests for URI manipulations to ensure they work and avoid regressions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions