The issue is with this code:
|
urlObj.searchParams.append(key, String(value)); |
It doesn't check in the loop for undefined, and string(undefined) evaluates to "undefined" which obviously isn't a valid cursor.
It should do an undefined check in the loop and continue.
TRI-1791