[Rt-devel] [BUG]: whitespace in custom fields not allowed by
REST protocol.
Dmitri Tikhonov
dtikhonov at vonage.com
Fri Jul 21 12:35:29 EDT 2006
On Fri, 2006-07-21 at 11:50 -0400, Jesse Vincent wrote:
> On Fri, Jul 21, 2006 at 09:11:26AM -0400, Dmitri Tikhonov wrote:
> > Dear list,
> >
> > I noticed that both /usr/bin/rt and RT::Interface::REST do not support
> > whitespace in attribute names. However, whitespace is allowed in Custom
> > field. Take, for instance, rt.cpan.org:
> >
> > CF-Severity: Critical
> > CF-Broken in: 0.05
> > CF-Fixed in:
> >
> > The problem is with $field variable, which is set to
> >
> > '[a-zA-Z][a-zA-Z0-9_-]*'
> >
> > One solution is to allow whitespace for custom fields:
> >
> > '(?:[a-zA-Z][a-zA-Z0-9_-]*|CF-[a-zA-Z0-9_ -]*)'
>
> I'd take a patch to do this. Thanks
I don't have 3.6.0 installed, so I can't test against the latest. I can
make a patch for 3.4.5 (looks like rt and RT::Interface::REST haven't
changed), and you merge it?
- Dmitri.
More information about the Rt-devel
mailing list