Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect URL parsing from NFT metadata #9906

Closed
yvaskov opened this issue Apr 18, 2024 · 0 comments · Fixed by #9956
Closed

Incorrect URL parsing from NFT metadata #9906

yvaskov opened this issue Apr 18, 2024 · 0 comments · Fixed by #9956
Assignees
Labels
bug 🐛 Something isn't working

Comments

@yvaskov
Copy link
Collaborator

yvaskov commented Apr 18, 2024

Description

Whitespaces are parsed incorrectly in the image URL for this instance:
https://base.blockscout.com/token/0x6F1339Da20f32abEB7055c824f68ec0F25d77684/instance/390?tab=metadata

https://base.blockscout.com/api/v2/tokens/0x6F1339Da20f32abEB7055c824f68ec0F25d77684/instances/390 returns

"image_url": "https://ipfs.io/ipfs/QmTQBtvkCQKnxbUejwYHrs2G74JR2qFwxPUqRb3BQ6BM3S/gm%2520gm%2520feelin%2520blue%25204k.png"

which is incorrect, and

    "metadata": {
        ...
        "image": "ipfs://QmTQBtvkCQKnxbUejwYHrs2G74JR2qFwxPUqRb3BQ6BM3S/gm%20gm%20feelin%20blue%204k.png",

that is the intended one.

Version

v6.4.0-beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants