[BUG] JavaScript Errors when Array.prototype was extended
When Array.prototype
was extended splitting the cookieValue
may result into unexpected behavior and may throw a JavaScript Error.
I made a patch-file that will check if the elements are actually in the array:
array-prototype-fix.diff