Open
Bug 1210292
Opened 9 years ago
FlagTypes API doesn't work if product name contains 'bad' characters.
Categories
(Bugzilla :: WebService, defect)
Tracking
()
NEW
People
(Reporter: mtyson, Unassigned)
Details
As of Bugzilla 5.0, the FlagTypes API has the functionality to set flag inclusions like so:
{
ids => [1],
inclusions => [ 'Product One', { 'Product Two' => ['Component Name'] } ]
}
This works for 'Product One', but there's a subroutine called '_delete_bad_keys' which will scrub out any hash keys that doesn't pass the regex.
This means if your product name contains spaces (or a wide variety of other characters) then the FlagTypes RPC api can't work when setting per-component inclusions or exclusions.
You need to log in
before you can comment on or make changes to this bug.
Description
•