mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
**Related issue:** Resolves #42480 Script packages (`.sh`, `.ps1`) are persisted server-side in the `script_contents` table, but `addScriptPackageMetadata` validates them with `ValidateHostScriptContents(scriptContents, false)`, enforcing the unsaved script limit (10K characters) instead of the saved limit (500K characters). This one-line fix changes `false` to `true`, allowing script packages up to 500K characters, consistent with other saved scripts. # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. ## Testing - [x] Added/updated automated tests - [ ] QA'd all new/changed functionality manually
1 line
229 B
Text
1 line
229 B
Text
* Fixed a bug where script packages (.sh, .ps1) incorrectly used the unsaved script size limit (10K characters) instead of the saved script limit (500K characters), preventing large scripts from being added as software packages.
|