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

Increase max UI size limit #2342

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Increase max UI size limit #2342

merged 3 commits into from
Apr 18, 2024

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Apr 17, 2024

Increase the max UI size limit to 10 MB. This lets Snaps use images of larger size without running into this issue.

Also modifies the implementation slightly to improve performance, instead of validating that the JSON blob is valid JSON, we strictly calculate the size of the blob.

Fixes #2341

@FrederikBolding FrederikBolding marked this pull request as ready for review April 18, 2024 09:56
@FrederikBolding FrederikBolding requested a review from a team as a code owner April 18, 2024 09:56
@FrederikBolding FrederikBolding merged commit deae905 into main Apr 18, 2024
148 checks passed
@FrederikBolding FrederikBolding deleted the fb/tweak-max-ui-size branch April 18, 2024 10:04
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 this pull request may close these issues.

Error for large image
2 participants