Add regex validations for OAuth, UA, and S3 fields (PR #2460)

GitHub

You’ve signed the CLA, riking. Thank you! This pull request is ready for review.

Looks good. I wonder if these should be tested somehow?

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/using-object-storage-for-uploads-s3-clones/148916/83