Repository navigation
Conversation
|
@IARI is attempting to deploy a commit to the CodesWhat Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
fix(mqtt): restore valid Home Assistant discovery topics fix(portainer): validate HTTP opt-in after boolean coercion fix(actions): decouple automatic updates from notification rules build(deps): clear the October 24 security advisories chore(release): prepare v1.8.0-rc.7 References #1472, #1473, #1281 and contributor PR #1474. Issues remain open for reporter retests after the candidate is published. Co-authored-by: Julian Jarecki <[email protected]>
|
Included your fix in #1475 with your author credit preserved in the squash commit. Both new regression cases failed before the fix, and all 154 Portainer tests pass with it. Closing this PR since the change is now on dev/v1.8. Thanks for the reproduction and fix. |
An environment-configured Portainer action with
ALLOWHTTP=truecurrently fails to register with"url" contains an invalid value. The URL custom validator checks the sibling opt-in before Joi converts the environment string"true"to a boolean.Use a Joi conditional referencing
allowHttpto select the permitted URI schemes after validating the opt-in. HTTPS remains the default; HTTP still requires explicit opt-in, and the runtime HTTP guard is unchanged. Both theallowHttpkey and environment-derivedallowhttpalias are covered.Closes #1473.
Validation:
npm run buildinapp/) passes.git diff --checkpass.Changelog
allowHttpis supplied as the environment string"true". The URL schema selects allowed schemes after validating the opt-in.allowHttpand theallowhttpalias, including cases where HTTP must be rejected.Concerns