marconiduarte / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Flashvars aren't Escaped, but should be #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the Flashvars aren't escaped when they are prepended to the 
flash url (around line 636).

This causes a problem in IE when you try to use a string with quotes. 
Proper JSON would required to escape the quote with a backslash. However 
this causes a problem with the method used to add these vars to the flash 
player. The vars need to be escaped in order for the string to pass 
correctly into the player.

Original issue reported on code.google.com by stevende...@gmail.com on 13 Nov 2008 at 6:42

GoogleCodeExporter commented 9 years ago
We have discussed this issue many times before, just Google the Issues and 
Discussion
Group archives.

We have good reasons not to escape flashvars within SWFObject. Adobe (for Flash
authoring) and we (for SWFObject authoring) have made the choice that URL 
encoding is
the responsibility of web authors.

For more info, read our FAQ Q9: http://code.google.com/p/swfobject/wiki/faq 

Original comment by bobbyvandersluis on 14 Nov 2008 at 9:39

GoogleCodeExporter commented 9 years ago
Merging into issue 66

Original comment by platelu...@gmail.com on 14 Jan 2010 at 11:49