CCI-MOC / moc-openstack-tools

Tools for OpenStack administration, user/project management, etc.
Apache License 2.0
0 stars 8 forks source link

Need to remove preceeding and trailing whitespace from user input #99

Open ianballou opened 6 years ago

ianballou commented 6 years ago

When users input information such as project names, sometimes preceding and trailing whitespace is entered by accident. This causes the names to mismatch because the whitespace is processed. We need to check for this whitespace and remove it before the information is processed.

HuzefaMandvi commented 6 years ago

What fields are you referring to? Input from Google Forms only?

HuzefaMandvi commented 6 years ago

Also - should we add prevention so that user cannot submit input with preceding/trailing whitespace rather than deal with it here?