Skip to content

[FIX] Fix duplicate cid parameter in context/set request URL#1075

Open
Che4ter wants to merge 1 commit into
dfir-iris:developfrom
baseVISION:contrib/fix-context-set-duplicate-cid
Open

[FIX] Fix duplicate cid parameter in context/set request URL#1075
Che4ter wants to merge 1 commit into
dfir-iris:developfrom
baseVISION:contrib/fix-context-set-duplicate-cid

Conversation

@Che4ter
Copy link
Copy Markdown

@Che4ter Che4ter commented May 8, 2026

Problem

Switching cases generated a malformed URL with two cid query parameters:

/context/set?cid=2?cid=1

The request still workes, but noticed this while troubleshooting issues caused by our WAF, which rejected the malformed request.

Fix

Use the helper's cid argument instead of adding ?cid= directly to the URL.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 8, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • api_*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 24a8df5f-d242-419d-8fb9-58ba348d3071

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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