Repository navigation
Validate against max resolution before image generation #4645
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
Merged
kbalka
merged 18 commits into
main
from
kbalka_fix_CWE_770_validate_requested_res_vs_max_resolution
Oct 14, 2026
+211
−30
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
36ba3c4
Validate agains max resolution before image generation
kbalka 1d2c976
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka d424200
Squash this
kbalka adeb3e8
Style
kbalka b39de09
Move max res validation to common
kbalka 6d2398c
Fix style
kbalka 3fa7c83
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka d953731
Fix debug log
kbalka 408db21
Fix copilot findings
kbalka 637df21
Use native resolution size unspecified and defaults not exits, before…
kbalka b92501e
Move checks to common validation
kbalka 3f00ac9
Addressing review
kbalka 18de693
Fix style
kbalka 9671952
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka 1931565
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka f5968dd
Fix redundancy
kbalka 65055a1
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka 9138b58
Merge branch 'main' into kbalka_fix_CWE_770_validate_requested_res_vs…
kbalka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.