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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unable to set line breaks in contribution Receipt Message: "Illegal characters"
Pages: [1]

Author Topic: Unable to set line breaks in contribution Receipt Message: "Illegal characters"  (Read 1146 times)

wmostrey

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 3
    • Wim Mostrey
Unable to set line breaks in contribution Receipt Message: "Illegal characters"
July 24, 2008, 01:59:26 am
Using CiviCRM 1.8, when I try to put a line break in a contribution's Receipt Message, I get the following error:

Code: [Select]
Please correct the following errors in the form fields below:
    * Illegal characters in input (potential scripting attack)

I suppose this is some protection against html and javascript code but I don't see why a linebreak shouldn't be allowed. Is this a bug where a linebreak is first converted to a <br> before it is sent to the validation?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Unable to set line breaks in contribution Receipt Message: "Illegal characte
July 24, 2008, 07:16:27 pm
If you're editing ReceiptMessage.tpl - the output from this is a text-only email - so change the spacing by just adding empty lines in the file.
Protect your investment in CiviCRM by  becoming a Member!

wmostrey

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 3
    • Wim Mostrey
Re: Unable to set line breaks in contribution Receipt Message: "Illegal characte
July 28, 2008, 12:54:45 am
I'm actually not editing a template, I'm editing "/civicrm/admin/contribute?reset=1&action=update&id=5&subPage=ThankYou".

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unable to set line breaks in contribution Receipt Message: "Illegal characters"

This forum was archived on 2017-11-26.