On Thu, Dec 8, 2011 at 18:12, Gerard FENELON <[email protected]> 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.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Reply via email to