continuousauth / web

Safely enable 2FA on your CI published packages. Built with ❤️ by The Electron Team
https://continuousauth.dev
29 stars 6 forks source link

fix: validate GHA buildURL correctly #82

Closed dsanders11 closed 3 months ago

dsanders11 commented 3 months ago

From the Joi docs (emphasis mine):

scheme - Specifies one or more acceptable Schemes, should only include the scheme name. Can be an Array or String (strings are automatically escaped for use in a Regular Expression).

Tested locally to confirm valid HTTPS URLs were failing validation under https:.

cc @MarshallOfSound