Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

encodeVars - Partial encoding.

1 reply [Last post]
Reply

Hi,

I spawned a new thread, based on a previous one. Seems urls are only partial encoded from previous thread:

http://www.longtailvideo.com/support/forums/open-video-ads/ova-for-jw-player/24838/encodevars#commen...

The debug response is:

Remvoed

Since I pasted from Mr. Paul not including OVA config, but I've the same result. Didn't notice until the SpotX people did, sorry about that.

Reply

Well, it's a flash thing.. I was using escape() in the code to do the URLencoding, but that doesn't encode /'s ... which seemed fair, but I suppose if SpotXChange are objecting then it's also fair to use encodeURIComponent() which does encode /'s.

That's done now. Checked in. Grab the latest RC7 build - build 18 has this change in.

You will see your URL now appear as:

Removed

Thanks for raising...

Paul

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options