Results 1 to 2 of 2
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    362
    I'm currently using a redirect script with the urls in a datafeed.. is it neccessary to url encode the links before sending to the redirect? or encode within the redirect?

    or is it fine to just pull it from the database the way it normally looks and pass it through the redirect script? (using header type redirect)

  2. #2
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    If the destination urls are in the redirect url, like this:

    http://yourdomain.com/redirect.cgi?url=[destination]

    Then it's safest to encode it. Most modern browsers and servers can handle the unencoded url as a parameter, but older ones, most notably Netscape Navigator 4 will choke.

    If you don't encode it, it'll need to be the last parameter in the querystring otherwise other parameters will get pulled into the redirect.

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. encoding url with php
    By acpd in forum Commission Junction - CJ
    Replies: 0
    Last Post: August 10th, 2010, 01:11 AM
  2. cj.com export character encoding problem
    By skara in forum Programming / Datafeeds / Tools
    Replies: 5
    Last Post: February 18th, 2010, 08:09 AM
  3. 2 Questions. URL-Encoding ebay landing page, Do I have to?? And also...
    By Ghoulardi in forum Commission Junction - CJ
    Replies: 0
    Last Post: December 26th, 2007, 03:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •