m-lab / piecewise-saas

Software-as-a-service deployment and authentication portal for M-Lab's Piecewise.
Apache License 2.0
0 stars 0 forks source link

Add input validation with regex for instance names and domains #24

Closed rudietuesdays closed 3 years ago

rudietuesdays commented 3 years ago

This PR fixes #3

jheretic commented 3 years ago

Maybe I'm doing something wrong, but nothing additional seems to be happening as far as input validation for instances?

Also, I added a commit for a bit more input validation on the server-side for users.

rudietuesdays commented 3 years ago

Thanks for catching @jheretic ! I updated the logic, please give it another test when you get a chance.

jheretic commented 3 years ago

LGTM!