diff --git a/src/api/v3/proxy_get.js b/src/api/v3/proxy_get.js index 5addc17..69e6e1b 100644 --- a/src/api/v3/proxy_get.js +++ b/src/api/v3/proxy_get.js @@ -110,7 +110,7 @@ router.get('/aspe', query('aspeUri').isString(), (req, res) => { }) // OpenPGP route -router.get('/openpgp', query('url').isFQDN(), query('protocol').isString(), (req, res) => { +router.get('/openpgp', query('url').isURL(), query('protocol').isString(), (req, res) => { const errors = validationResult(req) if (!errors.isEmpty()) { return res.status(400).json({ errors: errors.array() })