Skip to content

Commit

Permalink
Fix: pyload widget - encode proxy params (gethomepage#4210)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Oct 28, 2024
1 parent 261c907 commit 0aea6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/pyload/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function fetchFromPyloadAPI(url, sessionId, params, service) {
const options = {
body: params
? Object.keys(params)
.map((prop) => `${prop}=${params[prop]}`)
.map((prop) => `${prop}=${encodeURIComponent(params[prop])}`)
.join("&")
: `session=${sessionId}`,
method: "POST",
Expand Down

0 comments on commit 0aea6a6

Please sign in to comment.