[rt-users] Search format changed after upgrade
Leo Gorauskas
gorauskas at gmail.com
Wed Nov 14 13:44:28 EST 2012
Thomas, that worked. Thanks.
On Tue, Nov 13, 2012 at 10:10 AM, Thomas Sibley <trs at bestpractical.com>wrote:
> On 11/12/2012 03:26 PM, Leo Gorauskas wrote:
> > How can I add a class or ID to an element within a search format?
>
> You'll need to adjust the allowed HTML attributes, but be aware of the
> potential security concerns (faking up transactions and other parts of
> the UI in arbitrary messages). Put the following in
> local/lib/RT/Interface/Web_Local.pm:
>
> package HTML::Mason::Commands;
> our %SCRUBBER_ALLOWED_ATTRIBUTES;
> $SCRUBBER_ALLOWED_ATTRIBUTES{'id'} = 1;
> $SCRUBBER_ALLOWED_ATTRIBUTES{'class'} = 1;
> 1;
>
> Then clear the mason cache and restart RT.
> --------
> We're hiring! http://bestpractical.com/jobs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121114/ac19af7d/attachment.htm>
More information about the rt-users
mailing list