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
Some IPFS links won't resolve because the url isn't encoded properly.
For example ipfs://bafybeid5xl7cwdaelgh2rrxeicul6v7xbuwvtgiywklui43todymiyxx3y/TZLAND#247_FINALE.glb (just imagine this could be a json file for the sake of this ticket) will fail to fetch because the # isn't url encoded. Filenames containing spaces appear to work fine, though.
Tried fixing this but I can't quite figure out where that goes wrong and adding additional url encoding causes spaces to be double url encoded (%2520).
Thanks!
The text was updated successfully, but these errors were encountered:
Ok, so part of the problem is on my end (urls in metadata not being properly encoded), but there's definitely also an issue here: unencoded urls not being encoded before requests.
I suppose a possible solution would be to url decode links and then url encode them again to make sure to catch half, badly or un-encoded urls.
Some IPFS links won't resolve because the url isn't encoded properly.
For example
ipfs://bafybeid5xl7cwdaelgh2rrxeicul6v7xbuwvtgiywklui43todymiyxx3y/TZLAND#247_FINALE.glb
(just imagine this could be a json file for the sake of this ticket) will fail to fetch because the#
isn't url encoded. Filenames containing spaces appear to work fine, though.Tried fixing this but I can't quite figure out where that goes wrong and adding additional url encoding causes spaces to be double url encoded (
%2520
).Thanks!
The text was updated successfully, but these errors were encountered: