WordPress.org

Ready to get started?Download WordPress

Forums

url encoding (2 posts)

  1. shua
    Member
    Posted 6 years ago #

    I have a page that has a flash movie in it. Up until 2.5.1 upgrade it has played as expected.

    In 2.5.1, the url that is passed in the embed parameter is encoding the '&" to '#038;'. The result is the flash does not play (because the url path to the movie is now wrong).

    Any suggestions on how to make 2.5.1 not encode that character?

  2. couzin2000
    Member
    Posted 5 years ago #

    I'm having the same exact problem... here's the code I put in:

    blablabla
    <param name="movie" value="http://lesbelvederes.com/audio/xspf_player_slim.swf?playlist_url=http://lesbelvederes.com/audio/vltelb_playlist1.xspf&amp;autoload=true" />

    And when I open with the Source Viewer of Firefox 3.x, here's what I get:

    <param name="movie" value="http://lesbelvederes.com/audio/xspf_player_slim.swf?playlist_url=http://lesbelvederes.com/audio/vltelb_playlist1.xspf&autoload=true" />

    What can be done to AVOID having to go directly into the MySQL db and changing the char? Can we use the same manner as PHP and just put some sort of reserved char infront of it to make avoid the built-in conversion?

    NOTE: EVEN HERE, THE ACTUAL AMPERSAND SYMBOL GETS CONVERTED TO &AMP... WHAT A NICE BUG!

Topic Closed

This topic has been closed to new replies.

About this Topic