Answers.Body: <p>This was reproduced back in 2010: <a href="https://issues.civicrm.org/jira/browse/CRM-7192" rel="nofollow noreferrer">https://issues.civicrm.org/jira/browse/CRM-7192</a></p>
  
  <p>In short, this is a bug in CiviCRM that someone could fix, but it's very rarely triggered, and those who are affected haven't decided it was worth investing in the fix.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-24T17:57:03.553Z
Answers.Text: Thanks for digging that up. We better make sure not to use URLs ending in a hyphen then
Answers.UserDisplayName: Wim van Meurs
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-21T20:24:52.217Z
Answers.LastActivityDate: 2018-12-21T20:24:52.217Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>We have a problem with tracked click trough links ending up in a 404 Page not Found but <strong><em>only</em></strong> when the target URL ends in a hyphen. </p>
  
  <p>e.g. we link to something like and end up nowhere:
  <a href="https://mysite.eu/this-will-not-work-" rel="nofollow noreferrer">https://mysite.eu/this-will-not-work-</a></p>
  
  <p>while this works as intended: 
  <a href="https://mysite.eu/this-will-work-all-right" rel="nofollow noreferrer">https://mysite.eu/this-will-work-all-right</a></p>
  
  <p>Is anyone able to reproduce? </p>
  
  <p>We are on Wordpress 4.9.x, PHP 7.0 and Civi 5.3 (and planning to upgrade real soon). </p>
  
Tags: <civimail><tracked-links>
Title: CiviMail *only some* Tracked Click Throughs not Redirecting properly
ThreadText: # CiviMail *only some* Tracked Click Throughs not Redirecting properly
  
  (Asked by: username_0 on 2018-12-21)
  
  We have a problem with tracked click trough links ending up in a 404 Page not Found but ***only*** when the target URL ends in a hyphen.
  
  e.g. we link to something like and end up nowhere:
  <https://mysite.eu/this-will-not-work->
  
  while this works as intended:
  <https://mysite.eu/this-will-work-all-right>
  
  Is anyone able to reproduce?
  
  We are on Wordpress 4.9.x, PHP 7.0 and Civi 5.3 (and planning to upgrade real soon).
  
  **Tags:** civimail, tracked-links
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-12-21. Score: 2 | Accepted answer
  
  This was reproduced back in 2010: <https://issues.civicrm.org/jira/browse/CRM-7192>
  
  In short, this is a bug in CiviCRM that someone could fix, but it's very rarely triggered, and those who are affected haven't decided it was worth investing in the fix.
  
  > **Comments:**
  > **username_0**: Thanks for digging that up. We better make sure not to use URLs ending in a hyphen then  
  
  ---
  
  