Support » Plugin: ThirstyAffiliates Affiliate Link Manager » ThirstyAffiliate is Breaking My Affiliate URLs

  • cbdinka


    Hey I’m trying to setup an affiliate site using ThirstyAffiliates to make my affiliate URLs friendly for users.

    However, when I save a link, the Destination URL changes from what I set it as, removing needed { } brackets.

    The end of the URL looks like
    when I input it.

    But after I hit “Save” it gets changed to
    Which essentially breaks the tracking for my link.

    How can I fix this? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • cbdinka


    It appears instead of encoding the brackets into

    %7d and %7b

    It just removes them all together. Way to fix this?

    Plugin Author Caseproof



    The link is passed through esc_url_raw before it’s saved in the database, which seems to strip out the { and } characters. Apparently these are “unsafe” characters for URLs, so I’d imagine that’s why they’re stripped out.

    Does it work if you replace the { } in the URLs with their encoded equivalents?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.