You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/".
Passing a gateway with a trailing slash causes the program to generate a URI such as
gateway/ipfs/path/ipfs/path
instead ofgateway/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.
The text was updated successfully, but these errors were encountered: