8000 CDS serving default logo with multiple mimetypes but same href · Issue #1111 · icpctools/icpctools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CDS serving default logo with 8000 multiple mimetypes but same href #1111

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

Closed
vmcj opened this issue May 14, 2025 · 0 comments · Fixed by #1116
Closed

CDS serving default logo with multiple mimetypes but same href #1111

vmcj opened this issue May 14, 2025 · 0 comments · Fixed by #1116

Comments

@vmcj
Copy link
Collaborator
vmcj commented May 14, 2025

In preparation for NAC2025 we have the following logo's
/organization//logo.svg
/organization//logo.png
/organization//logo.AxB.png

In the eventfeed this is represented as (see the duplicated href with different mimetypes)

{"id":"187","icpc_id":"187","logo":[
...,
{"href":"contests/nac25practice/organizations/187/logo","filename":"logo.png","mime":"image/png","width":9887,"height":2787},
{"href":"contests/nac25practice/organizations/187/logo","filename":"logo.svg","mime":"image/svg+xml","width":95,"height":27}]},
...]}

The logo.svg & logo.png depict the same file but in different formats, most likely the CDS should generate a different href with for example the extension also in the URL and serve the stem only as an redirect to 1 of the 2 for BC.

Image
Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0