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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Unwanted HTML validation check in civicrm/admin/uf/group editor
Pages: [1]

Author Topic: Unwanted HTML validation check in civicrm/admin/uf/group editor  (Read 2183 times)

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Unwanted HTML validation check in civicrm/admin/uf/group editor
December 26, 2007, 05:59:22 pm
Folks,

In versions previous to 1.9 (and probably until at least 1.7) you could put HTML tags into the Pre-form and Post-form Help fields.  This is not possible in 1.9 AFAICT; the validator now whines

Code: [Select]
Please correct the following errors in the form fields below:
    * Illegal characters in input (potential scripting attack)
Any one know how to stop the whining?

Also, is this a feature or a bug?  I can fix this on my local installations, but I'm not sure if the CiviCRM folks will want the patch.

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: Unwanted HTML validation check in civicrm/admin/uf/group editor
December 26, 2007, 06:37:09 pm

This never made it into production :). I assume u installed civicrm from svn. I rolled this back from v1.9 yesterday since it was generating spurious errors like the below

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

torenware

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 4
Re: Unwanted HTML validation check in civicrm/admin/uf/group editor
December 26, 2007, 09:40:31 pm
Quote from: Donald Lobo on December 26, 2007, 06:37:09 pm

This never made it into production :). I assume u installed civicrm from svn. I rolled this back from v1.9 yesterday since it was generating spurious errors like the below

lobo
Yep.  I discovered your reversion of 12688 when I started diffing my patch.

Your fix was a lot simpler (since most of the xssString related code is buried so deep in QuickForm), so I'm goin' with it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Unwanted HTML validation check in civicrm/admin/uf/group editor

This forum was archived on 2017-11-26.