LP
1830065: Remove Spaces and Punctuation from SMS Notify
We add a line of code to EGCatLoader::Account to strip spaces and
punctuation from the user-entered SMS notify field. This way, the
user doesn't have to worry so much about the input and they will get
their SMS notifications, even if they enter the number with spaces and
punctuation.
We do not remove the SMS notificaiton hint as that is still somewhat
useful information and sites may have customized this template.
To test this, find something to put on hold and check the box for SMS
notificaiton, enter a number in the field with spaces, dashes, or any
other punctuation, and then look your hold up in the database. Prior
to applying this commit, the action.hold_request.sms_notify field will
contain the spaces and punctuation. After applying this commit and
repeating the above steps, your next hold will not have punctuation or
spaces in action.hold_request.sms_notify.
No provision is made for cleaning up existing holds.
Signed-off-by: Jason Stephenson <jason@sigio.com>