CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • wrong URL rendering with a 'URL with trailing space'
Pages: [1]

Author Topic: wrong URL rendering with a 'URL with trailing space'  (Read 1438 times)

petbos157

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1.71
  • PHP version: 5.3.3
wrong URL rendering with a 'URL with trailing space'
January 29, 2010, 02:54:19 am
Hi,

When we send a newsletter with a link and that URL has a trailing space (yes, normally it hasn't a trailing space), the link in the received newsletter is misformed.
Example :
If we set a link like this
  <a target="_blank" href="http://www.yourdomain.com/a_web_page.html ">link</a>
In the newsletter it wil be transformed into this
  <a target="_blank" http://www.yourdomain.com/cms/sites/all/modules/civicrm/extern/url.php?u=214&qid=70774 ">link</a>

It's not really a bug, but this occure in the real world while editors copy/paste url's into the newsletters.
Maybe a good filter/rendering can resolve this problem.

Where can i start to change this or is there already a solution for this ?

Greetings,
Peter


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: wrong URL rendering with a 'URL with trailing space'
January 29, 2010, 03:40:05 am
Can you file an issues for this in jira.

Kurund
Found this reply helpful? Support CiviCRM

Ganesh

  • Guest
Re: wrong URL rendering with a 'URL with trailing space'
April 27, 2010, 11:25:47 pm
I am hving the same problem My version is CiviCRM 3.1.3 . I am giving URLs in Mailing Header and Footer template but that automatically becomes civicrm/extern.php .... somthing Do anyone hving idea about this i checekd my Resourse URL thought its fine its hving http://mydomain/civicrm/sites/all/modules.... path so where i m going wrong .

Thanx

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: wrong URL rendering with a 'URL with trailing space'
May 03, 2010, 10:19:56 am
Quote from: Ganesh on April 27, 2010, 11:25:47 pm
I am giving URLs in Mailing Header and Footer template but that automatically becomes civicrm/extern.php .... somthing

That particular thing does not seem to have much to do with this thread; if you don’t want your URLs tracked (i.e., replaced by their civicrm/extern.php counterparts), try simply turning off URL tracking for a given mailing.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • wrong URL rendering with a 'URL with trailing space'

This forum was archived on 2017-11-26.