Skip to content

tentacle: mgr/dashboard: Fix username validation for special characters by URL-encoding user lookup requests - #69953

Merged
batrick merged 1 commit into
ceph:tentaclefrom
aaSharma14:wip-77656-tentacle
Jul 10, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
aaSharma14:wip-77656-tentacle

Conversation

@aaSharma14

Copy link
Copy Markdown
Contributor

…encoding user lookup requests

When validating usernames, special characters such as '#' were not being URL-encoded before being appended to the user lookup endpoint.
Because the browser treats '#' as a URL fragment, the request path was truncated, causing the backend to return an incorrect response and the UI to display a misleading "User already exists" validation error.

Fixes: https://tracker.ceph.com/issues/77129

Signed-off-by: Aashish Sharma <[email protected]>
(cherry picked from commit b2ed52b)
@aaSharma14
aaSharma14 requested a review from a team as a code owner July 6, 2026 09:22
@aaSharma14
aaSharma14 requested review from nmunet and pecastro July 6, 2026 09:22
@aaSharma14 aaSharma14 added this to the tentacle milestone Jul 6, 2026
@github-actions github-actions Bot added pybind releng-audit-pass Release engineering: passed backport verification audit. labels Jul 6, 2026
@github-project-automation github-project-automation Bot moved this from New to Reviewer approved in Ceph-Dashboard Jul 6, 2026
@yuriw

yuriw commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri4-testing-20260708.183239-tentacle.

@batrick
batrick merged commit e072a58 into ceph:tentacle Jul 10, 2026
11 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard needs-qa pybind releng-audit-pass Release engineering: passed backport verification audit. wip-yuri4-testing

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants