Mokku icon indicating copy to clipboard operation
Mokku copied to clipboard

Mokku mutates options object passed to fetch function

Open lscheibel opened this issue 3 years ago • 0 comments

In the minified code in the inject.js somewhere there is this line: t.headers && (t.headers = new Headers(t.headers)) which will modify the options object passed to fetch. Obviously this is pretty bad and will lead to difficult to debug issues but I think this part comes from xhooks, so the problem may lay somewhere in there.

I currently don't have time to dig deeper into this, so I'll leave it here for now.

lscheibel avatar Feb 16 '22 10:02 lscheibel