Skip to content

[Studio] fix: validate Ops toggle requests - #585

Open
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-584
Open

[Studio] fix: validate Ops toggle requests#585
yx9o wants to merge 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-584

Conversation

@yx9o

@yx9o yx9o commented Jul 25, 2026

Copy link
Copy Markdown

What is the purpose of the change

Fixes #584 .

Prevent the Ops toggle endpoints from treating missing boolean values as false and silently disabling VIP Channel or TLS.

Brief changelog

  • Reject missing useVIPChannel and useTLS values with HTTP 400.
  • Prevent invalid requests from invoking the update service.
  • Preserve explicit true and false updates.
  • Add controller regression tests for both endpoints.

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.

1 participant