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 encoding of query strings #409

Open
m-mohr opened this issue Feb 26, 2024 · 1 comment
Open

Incorrect encoding of query strings #409

m-mohr opened this issue Feb 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@m-mohr
Copy link
Collaborator

m-mohr commented Feb 26, 2024

Reported by @ycespb

There may be an issue in the STACBrowser with thumbnail URL encoding.

The STACBrowser seems to “encode” the URL (provided by DLR) causing a broken link in STACBrowser. Pasting the original URL (present in the STAC GeoJSON representation) in the Web browser allows to see the thumbnail…

https://radiantearth.github.io/stac-browser/#/external/geo.spacebel.be/collections/3fe263d2-99ed-4751-b937-d26a31ab0606/items/urn:eop:DLR:EOWEB:NOAA.AVHRR.NDVI:@dims_op_pl_dfd_XXXXB00000000283080155732@dims_op_pl_dfd_@@NOAA.AVHRR.NDVI?httpAccept=application%2Fgeo%2Bjson%3Bprofile%3Dhttps%3A%2F%2Fstacspec.org&.language=en&.asset=asset-thumbnail

This encoding is also present in the official CEOS FedEO endpoint.

@m-mohr m-mohr added the bug Something isn't working label Feb 26, 2024
@m-mohr
Copy link
Collaborator Author

m-mohr commented Feb 26, 2024

The URL encoding comes from urijs and can't be disabled without major effort. The other thing that confuses me is that Firefox shows an equal sign at the end for the requested image...

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

No branches or pull requests

1 participant