[rt-users] CF Link values

Ruslan Zakirov ruz at bestpractical.com
Thu Dec 8 09:48:46 EST 2011


On Thu, Dec 8, 2011 at 18:12, Gerard FENELON <gerard at eve-team.com> wrote:
> is it safe to change
>    CustomField => { value => sub { $_[0]->Content }, escape => 1 },
> to
>    CustomField => { value => sub { $_[0]->Content } },
> in _FillInTemplateURL ?

Only if you know what you're doing.

> Or should I change
>    $ref =~ s/([^a-zA-Z0-9_.!~*'()-])/uc sprintf("%%%02X", ord($1))/eg;
> to
>    $ref =~ s/([^a-zA-Z0-9_.!~*'()\/-])/uc sprintf("%%%02X", ord($1))/eg;
> in RT::Interface::Web::EscapeURI ?

No, you shouldn't.


-- 
Best regards, Ruslan.



More information about the rt-users mailing list