[ic] IC 4.6.5: '&' becomes '&' in html entered with item editor

Scott Andreas interchange-users@interchange.redhat.com
Thu Feb 21 14:04:00 2002


I had the same problem long ago then I used the text2html filter and then
all went away

I tried your experiment and everthing worked as it was suppose to...hmm

I use text2html filter to which I found being better at parsing the html
tags correctly

Scott


-----Original Message-----
From: interchange-users-admin@interchange.redhat.com
[mailto:interchange-users-admin@interchange.redhat.com]On Behalf Of Ed
LaFrance
Sent: Thursday, February 21, 2002 9:56 AM
To: interchange-users@interchange.redhat.com
Subject: [ic] IC 4.6.5: '&' becomes '&' in html entered with item
editor


Hi all -

Perl 5.6.0
RH   6.2
IC 4.6.5, construct demo

I've come across a minor mystery (to me). Any text entered in the item
editor it the above catalog, which contains html tags (such as <b>bold
text</b>) is being properly converted to html entities (&lt;b&gt;..etc) for
display in text fields and textareas, and then back to html when the record
is saved... but only for a superuser.  If I turn off the admin's superuser
status (yet they still have full permissions for items), logout/login, and
try the same test, the ampersand in the html entity gets converted to its
own entity equivalent ('&amp;') which breaks subsequent decode operations.

No filters have been explicitly set for the field in question.  The
behavior occurs in an unmodified construct demo, installed right out of the
box, and has been tried with both gdbm and MySQL databases, not that it
would matter.

Can anyone confirm this, and is there a patch?

Thanks,

Ed L.



===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users