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

fix: handle gracefully downloadurls and srcsets with optional languages overwrite for files #1266

Merged
merged 7 commits into from
Sep 30, 2024

Conversation

skoegl
Copy link
Member

@skoegl skoegl commented Sep 24, 2024

See #1265

Copy link
Member

@phorward phorward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @skoegl, thanks for creating this pull request.
Can you please test my suggested changes and apply it to the case below as well?

src/viur/core/modules/file.py Outdated Show resolved Hide resolved
src/viur/core/modules/file.py Outdated Show resolved Hide resolved
src/viur/core/render/html/env/viur.py Outdated Show resolved Hide resolved
src/viur/core/render/html/env/viur.py Outdated Show resolved Hide resolved
src/viur/core/render/html/env/viur.py Outdated Show resolved Hide resolved
skoegl and others added 4 commits September 24, 2024 23:20
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
@phorward phorward added this to the ViUR-core v3.7 milestone Sep 24, 2024
@phorward phorward added the bug(fix) Something isn't working or address a specific issue or vulnerability label Sep 24, 2024
@skoegl
Copy link
Member Author

skoegl commented Sep 27, 2024

Thank you for the code review . I hopefully have completed all requested changes. Please take another look and if ok, please merge.

@phorward phorward merged commit 6b80c83 into develop Sep 30, 2024
8 checks passed
@phorward phorward deleted the fix/files-multiple-languages-downloadurl-srcset branch September 30, 2024 18:50
sveneberth added a commit to viur-framework/viur-toolkit that referenced this pull request Oct 18, 2024
…orage place (#19)

For now it's intended to save reports into the private bucket.

This PR is related to PRs from viur-core :
viur-framework/viur-core#1266 and
viur-framework/viur-core#1268

---------

Co-authored-by: Sven Eberth <mail@sveneberth.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

downloadUrlFor and srcSetFor for FileBone with languages are not handled correctly
2 participants