[FIX] Fix duplicate cid parameter in context/set request URL#1075
[FIX] Fix duplicate cid parameter in context/set request URL#1075Che4ter wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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. Comment |
Problem
Switching cases generated a malformed URL with two
cidquery parameters:/context/set?cid=2?cid=1The request still workes, but noticed this while troubleshooting issues caused by our WAF, which rejected the malformed request.
Fix
Use the helper's
cidargument instead of adding?cid=directly to the URL.