It seems to me that there’s a simple solution. If spaces aren’t allowed in the input fields of the curve tool (or any other tool where spaces aren’t allowed), it should be a very simple task to remove all spaces from pasted text before processing the line. In software, it’s very common to first remove spaces at the beginning and end of a line before processing it, so removing spaces from inside is not much of a stretch.