WordPress.org

Ready to get started?Download WordPress

Forums

Simple URLs
Issue with brackets in affiliate URLs (1 post)

  1. JeanPaulH
    Member
    Posted 4 months ago #

    Hi,

    I'm seeing an issue with affiliate URLs which are using brackets for parameters. The brackets seem to confuse Simple URLs in its interpreting of query parameters.

    European affiliate network Zanox uses this format for deeplink URLs:

    http%3A%2F%2Fad.zanox.com%2Fppc%2F%3F26447164C49580124%26ulp%3D%5B%5B%2Fiphone%5D%5D%26zpar0%3D%5B%5BAutolink%5D%5D (url encoded because Codex insists on mangling the brackets as well, sigh ...)

    Gist: https://gist.github.com/jphorn/0724bf9038a078616b5a

    When using this redirect URL in Simple URLs, the resulting redirected URL is:

    https://www.studentmobiel.nl/iphone&zpar0=Autolink?utm_source=ZANOX&utm_medium=cpa&utm_campaign=ZANOX&zanpid=1848370874215175169&utm_term=1221992 (which results in an error page)

    Please notice the wrong interpretation/order of the query parameters (ampersand first and question mark 2nd). This only happens with these brackets redirect URLs.

    http://wordpress.org/plugins/simple-urls/

Reply

You must log in to post.

About this Plugin

About this Topic