[rt-users] Inline screenshots

Thomas Sibley trs at bestpractical.com
Fri Jul 20 12:17:57 EDT 2012


On 07/20/2012 05:43 AM, Rémi wrote:
> In my case I tweek a little more the scrubber to avoid (reduce)
> security issues,
> the only thing I wanted is the ability to paste en image in the
> CKeditor (<img src="data:image/png;base64..... />)
> this do the trick after the $scriubber->allow() call.
> 
> $scrubber->rules(
>                 img => {
>                         src => qr{^data\:image}i,
>                         alt => 1,
>                         '*' => 0,
>                         },
>                 );

In 4.0.6, you can configure this with a clean local overlay and not have
to patch any core RT code.  Things to look forward to when you upgrade. ;)



More information about the rt-users mailing list