Skip to content

problem with cloudinary_cors.html in IE8 - windows 7 #56

@RShergold

Description

@RShergold

When uploading an image in Internet Explorer 8 i get an error on this line of the cloudinary_cors.html file.

It seems that document.body doesn't have method hasOwnProperty in IE8. It's strange because the comment above this line seems to be saying that this is an explicit check to see if we are running on less than IE9. I removed the if statement and set it to always run

document.body.innerText = parse(window.location.search.slice(1));

and now it seems to run fine.

The commit that made this change stated it was to protect against a XSS vulnerability

Is it safe for me to make this change or is there another cause to my problem you can think of?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions