Bug? Custom field names allowed trailing whitespace

RT 3.8.7

Just found a custom field whose name was "Shared with ABC "

Trying to reference it in a Scrip as “Shared with ABC”
(lacking trailing space) failed, of course.

I can’t think of any reason to allow trailing whitespace
in CF names, so I consider this a bug.