I'm using glass mapper BeginRenderLink to output some links:
@using (BeginRenderLink(link, n => n.Destination, isEditable: true))
{
@RenderImage(link, lnk => lnk.LinkIcon, isEditable: true, outputHeightWidth: true)
}
Most of the time this works fine. But in this case I have a link that is an external link that uses a marketing tool called Adjust and the link has query string parameters that contain urls. In particular, one of the urls has Google Analytics parameters in it. So this url:
http://app.adjust.com/6jr6nn_log23f?deep_link=com.somesubdomain.somedomain.rsurlscheme%3A%2F%2Fhttps://somedomain.com&fallback=https%3A%2F%2Fsomedoamin.com%2F%3Futm_source%3DWebsite%26utm_medium%3D03_20_2018%26utm_campaign%3DSOMEDOAMIN.COM
Using BeginRenderLink my second querystring parameter, 'fallback' is getting removed. By process of elimination I am sure it is the ga parameters (utm_source, utm_medium, etc...) that are the source of the problem. Also, if I just spit out an anchor link the url is rendered correctly, so I am sure it is the BeginRenderLink. I would like to continue using BeginRenderLink for Experience Editor reasons.
Why is this getting stripped?
I also looked the Glass code and nothing obvious was leaping out at me.