GitLabClient.encodedRepo escapes only /, so a repo slug with ? # & or % corrupts every glab api path #558
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#558
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while working IW-517.
GitLabClient.encodedRepo(core/adapters/GitLabClient.scala:618) escapes only/. A repository slug carrying?,#,&or%can therefore corrupt anyglab apipath built from it.Pre-existing, and shared by every command builder in the file — not introduced by IW-517.
encodedQueryValue(core/adapters/GitLabClient.scala:851) is the correct pattern. Fix once, centrally, so every builder in the file gets it.Intake: agent-ready
Workflow: diagnostic
Reason: all gates passed
Analysis: project-management/issues/IW-558/analysis.md on branch IW-558