Skip to content

Commit d75323f

Browse files
authored
Merge pull request #112 from browserstack/fix-bulk-accept
fix: bulk accept uri encoding
2 parents 2b3200f + 1395cdc commit d75323f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/EnigmaOps/pendingRequests.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213

214214
$(`.${selector}`).each(function () {
215215
if ($(this).is(":checked"))
216-
reqParams.push(encodeURIComponent(`requestId=${$(this).val()}`))
216+
reqParams.push(`requestId=${encodeURIComponent($(this).val())}`)
217217
request_ids.push($(this).val())
218218
});
219219

@@ -242,7 +242,7 @@
242242
let urlBuilder = `/accept_bulk/${selector}?`
243243
request_id = $(this).val()
244244
reqParams = []
245-
reqParams.push(encodeURIComponent(`requestId=${request_id}`))
245+
reqParams.push(`requestId=${encodeURIComponent(request_id)}`)
246246

247247
urlBuilder = urlBuilder + reqParams.join("&")
248248
div_id = request_id + "-action"

0 commit comments

Comments
 (0)