I am having problems with URLs that contain & in them. These URLs are not working properly when a client clicks on the generated Campaign Monitor link, because the forwarding provided by CM simply forwards to the link in the HTML document. This appears to only have started happening last week.
For example, this is link as it appears in the HTML source of my document:
When you click on this link in a browser, the browser correctly transforms this link into:
However when a user clicks on the link generated for this link in the CM generated email CM redirects the user to:
Which fails. For me this is definitely an issue with CMs forwarding mechanism, as the link in the source is valid HTML. I have raised this issue with support but their reply was to write the link as follows:
This however is invalid (the page will not render) if used in an XHTML document and not recommended by the w3c even in an HTML document.
My solution for now is to encode the & as such:
But this is not a nice solution from my point of view as it means rewriting all my templates across various clients.
Please can you let me know if I am doing something obviously wrong here or if this indeed an issue with CM?
Sorry about all the confusion. Looks like we'd fixed it at some point so that & was being converted to & but that's not working now. We're working on a fix (and let you know via support).
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free