-
Notifications
You must be signed in to change notification settings - Fork 1
Idempotency key is sent in request body #111
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingcoding-loop/in-progressCoding loop in progressCoding loop in progresscoding-loop/inspectedcoding-loop/managedcoding-loop/pr-createdPull request created by coding loopPull request created by coding loopcoding-loop/ready-for-devReady for developmentReady for development
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoding-loop/in-progressCoding loop in progressCoding loop in progresscoding-loop/inspectedcoding-loop/managedcoding-loop/pr-createdPull request created by coding loopPull request created by coding loopcoding-loop/ready-for-devReady for developmentReady for development
Type
Fields
Give feedbackNo fields configured for issues without a type.
VideosResource.create() and TasksResource.create() derive the Idempotency-Key header from params.get("idempotency_key") but also pass the same params mapping unchanged into _payload(), so calls like tasks.create(type="x", idempotency_key="idem") include idempotency_key in the JSON body as well as the header. Filter header-only params before building the sync and async create payloads.
File:
src/globalrouter/_resources.pyLine: 335
Severity: medium
Summary: idempotency key leaked into create payloads