-
Notifications
You must be signed in to change notification settings - Fork 44
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
fix(server): invalid characters in download urls #1276
Conversation
Code Coverage (Ubuntu)
Diff against develop
Results for commit: e3c654f Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Code Coverage (Windows)
Diff against develop
Results for commit: e3c654f Minimum allowed coverage is ♻️ This comment has been updated with latest results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path should be quoted also in the links
section of the item:
"links": [
{
"rel": "self",
"title": "W_XX-EUMETSAT-Darmstadt,HYPERSPECT+SOUNDING,METOPA+PW3+IASI_C_EUMP_20070710090558Z_20070710104454Z_eps_r_l2_0101",
"href": "http://localhost:5000/collections/METOP_IASTHR011/items/W_XX-EUMETSAT-Darmstadt,HYPERSPECT+SOUNDING,METOPA+PW3+IASI_C_EUMP_20070710090558Z_20070710104454Z_eps_r_l2_0101"
},
{
"rel": "root",
"href": "http://localhost:5000/"
},
{
"rel": "parent",
"title": "METOP_IASTHR011",
"href": "http://localhost:5000/collections/METOP_IASTHR011"
},
{
"rel": "collection",
"title": "METOP_IASTHR011",
"href": "http://localhost:5000/collections/METOP_IASTHR011"
}
],
urls in links are now also quoted |
the path part of the "href" values of the assets is now quoted to avoid invalid characters in the urls, e.g. due to commas in the id which occur for some collections of the
eumetsat_ds
provider (METOP_AVHRRGACR02
andMETOP_IASTHR011
)