[Rt-commit] r5652 - rt/branches/3.6-RELEASE/lib/RT/Interface
ruz at bestpractical.com
ruz at bestpractical.com
Tue Jul 25 20:21:33 EDT 2006
Author: ruz
Date: Tue Jul 25 20:21:32 2006
New Revision: 5652
Modified:
rt/branches/3.6-RELEASE/lib/RT/Interface/REST.pm
Log:
* add support for spaces in names of custom fields in the REST,
based on patch from Dmitri Tikhonov.
Modified: rt/branches/3.6-RELEASE/lib/RT/Interface/REST.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Interface/REST.pm (original)
+++ rt/branches/3.6-RELEASE/lib/RT/Interface/REST.pm Tue Jul 25 20:21:32 2006
@@ -60,7 +60,7 @@
@EXPORT = qw(expand_list form_parse form_compose vpush vsplit);
}
-my $field = '[a-zA-Z][a-zA-Z0-9_-]*';
+my $field = '(?i:[a-z][a-z0-9_-]*|C(?:ustom)?F(?:ield)?-[a-z0-9_ -]+)';
# WARN: this code is duplicated in bin/rt.in,
# change both functions at once
More information about the Rt-commit
mailing list