Answers.Body: <p>Steve, I'm not sure exactly how this is happening, but it sounds like something about your process is getting confused between HTML and plain text.</p>
  
  <p>If I typed &amp;id=X in a Wysiwyg editor, the HTML source for that would be 
  &amp;id=X (actually, what I wrote over there to the left was "&amp; amp;id=X" but without the space. It was interpreted as HTML and the "&amp; amp;" was rendered as "&amp;" - talk about illustrating the confusion - apparently I needed to use "preformatted" in this wysiwyg editor!)</p>
  
  <p>Is it possible that some of the parameters for your site were cut and pasted from html and it snuck in this way?</p>
  
  <p>Can you elaborate on when this occurs? E.G. is this manifesting in browsers, or in emails sent by CiviMail, or in some other way?</p>
  
  <p>Rick</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-11T19:46:45.240Z
Answers.LastActivityDate: 2016-12-11T19:53:27.637Z
Answers.LastEditDate: 2016-12-11T19:53:27.637Z
Answers.UserDisplayName: Rick Cunningham
Body: <p>I have a site I am working on and sometimes the URLs are being changed <code>&amp;amp;id=X</code> rather than <code>&amp;id=X</code>.  For example, <code>https://secure.domain.org/civicrm/event/register?reset=1&amp;amp;id=15</code> . </p>
  
  <p>I am not sure how this happening. Any help on how to get CiviCRM to recognize either is appreciated.  </p>
  
  <p>I am running CiviCRM - 4.6.24 and Drupal - 7.52. </p>
  
  <p>Thanks,
  Steve </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-09T08:32:10.963Z
Comments.Text: Steve - I've edited the question so that it displays what I think you mean, but please check
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-09T08:33:02.350Z
Comments.Text: Where are these URLs showing up?  Are they in emails?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-11T00:21:01.257Z
Comments.Text: It looked right when I previewed it.  It looks perfect now. Thank you for changing what you changed. The emails appear to be from different sources.  It is not all from MailChimp or something like that.  I only know its happening from the email from the error handling extension  (https://civicrm.org/extensions/civicrm-error-handler).  Thanks!
Comments.UserDisplayName: Steve Kessler
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-14T09:40:07.090Z
Comments.Text: Just a thought, but is it an artefact of the error-handler extension itself?  Might be worth confirming in the webserver logs what is being received there.
Comments.UserDisplayName: Aidan
Tags: <civievent><civicontribute>
Title: Ampersand Changed to "&amp;" in URL
ThreadText: # Ampersand Changed to "&amp;" in URL
  
  (Asked by: username_0 on 2016-12-09)
  
  I have a site I am working on and sometimes the URLs are being changed `&id=X` rather than `&id=X`. For example, `https://secure.domain.org/civicrm/event/register?reset=1&id=15` .
  
  I am not sure how this happening. Any help on how to get CiviCRM to recognize either is appreciated.
  
  I am running CiviCRM - 4.6.24 and Drupal - 7.52.
  
  Thanks,
  Steve
  
  **Tags:** civievent, civicontribute
  
  > **Comments:**
  > **username_1**: Steve - I've edited the question so that it displays what I think you mean, but please check  
  > **username_1**: Where are these URLs showing up?  Are they in emails?  
  > **username_0**: It looked right when I previewed it.  It looks perfect now. Thank you for changing what you changed. The emails appear to be from different sources.  It is not all from MailChimp or something like that.  I only know its happening from the email from the error handling extension  (https://civicrm.org/extensions/civicrm-error-handler).  Thanks!  
  > **username_1**: Just a thought, but is it an artefact of the error-handler extension itself?  Might be worth confirming in the webserver logs what is being received there.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-12-11. Score: 2
  
  Steve, I'm not sure exactly how this is happening, but it sounds like something about your process is getting confused between HTML and plain text.
  
  If I typed &id=X in a Wysiwyg editor, the HTML source for that would be
  &id=X (actually, what I wrote over there to the left was "& amp;id=X" but without the space. It was interpreted as HTML and the "& amp;" was rendered as "&" - talk about illustrating the confusion - apparently I needed to use "preformatted" in this wysiwyg editor!)
  
  Is it possible that some of the parameters for your site were cut and pasted from html and it snuck in this way?
  
  Can you elaborate on when this occurs? E.G. is this manifesting in browsers, or in emails sent by CiviMail, or in some other way?
  
  Rick
  
  
  ---
  
  