- Operating System: all
- Cypress Version: all
- Browser Version: all
Is this a Feature or Bug?
Bug
Current behavior:
The download only works on https due to the regex check in 'cli/lib/tasks/download.js'
const isUrl = (s) =>
isString(s) && /^https:/.test(s)
Desired behavior:
should work with all links (http, https, or better, no check at all. cause it's a manual override)
How to reproduce:
set the CYPRESS_BINARY_VERSION variable to: 'http://somesite.internal/bla.zip'
do the 'npm i cypress' command.
Is this a Feature or Bug?
Bug
Current behavior:
The download only works on https due to the regex check in 'cli/lib/tasks/download.js'
const isUrl = (s) =>
isString(s) && /^https:/.test(s)
Desired behavior:
should work with all links (http, https, or better, no check at all. cause it's a manual override)
How to reproduce:
set the CYPRESS_BINARY_VERSION variable to: 'http://somesite.internal/bla.zip'
do the 'npm i cypress' command.