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) »
  • url's get truncated if they contain "special characters" like commas
Pages: [1]

Author Topic: url's get truncated if they contain "special characters" like commas  (Read 2683 times)

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
url's get truncated if they contain "special characters" like commas
August 07, 2008, 01:39:36 pm
Hi,
   We created a test mailing that contained 2 url's. One worked just fine but the other did not and generated a "404" error.

   In researching this, it appears that the "url_tracking parser" chops certain url's off because they contain unorthodox characters... (,.). We ascertained this by looking at how the url was stored in the table.

Here is the problematic url:
http://www.latimes.com/news/nationworld/nation/la-na-gitmo27-2008jul27,0,1320160,full.story

I realize it is not good practice to use commas in a url, but we do not have any control over this.

  Is this a bug? I will post to the issue tracker if it is considered so by others.

 Also, is there a way we can get around this now, so that we can get the mailing out?

Thanks,
Cynthia


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: url's get truncated if they contain "special characters" like commas
August 07, 2008, 02:04:05 pm

Yes, this is a bug. please file an issue and we'll fix it for 2.1 (and AFSC can backport it to 2.0)

To get around it, you might want to send the mailing with url tracking turned off

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: url's get truncated if they contain "special characters" like commas
August 08, 2008, 05:43:23 am
http://issues.civicrm.org/jira/browse/CRM-3384

As always... thank you lobo,
Cynthia

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • url's get truncated if they contain "special characters" like commas

This forum was archived on 2017-11-26.