This project is archived and is in readonly mode.

#832 ✓wontfix

swiff vars - problem with special chars

Reported by _reg | January 16th, 2010 @ 12:23 AM | in 2.0 (closed)

I am using swiff to load a swf movie and passing it a variable.

The variable I want to pass contains a special char (i am passing an url to a php file with a get parameter) :

vars: {

 XMLFile: 'gallery.php?uid=XXX'}

The problem is mootools is url-encoding the vars so the generated object contains the following parameter :

param value="XMLFile=gallery.php%3Fuid%3DXXX" name="flashVars"

instead of

param value="XMLFile=gallery.php?uid=XXX" name="flashVars"

I am currently using a cookie as a workaround to send the parameters i want to my php file, still it would be nice if mootools was not url-encoding the vars passed to the flash movie.


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket