Skip to content

Conversation

BSierakowski
Copy link

Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the term.stylePrint with a new mailto: regex in addition to the http regex. My next approach was to write a new term.displayMailto function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.

47 vulnerabilities (1 low, 17 moderate, 24 high, 2 critical) fixed.

3 moderate vulnerabilities remain.
Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the `term.stylePrint` with a new mailto: regex in addition to the http regex. My next approach was to write a new `term.displayMailto` function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.
Currently the apply command line feature is broken because we are programmatically navigating to a mailto link which is blocked in current browsers (see: https://stackoverflow.com/questions/71583658/not-allowed-to-launch-cutom-protocol-because-a-user-gesture-is-required.)

I first try to rewrite the `term.stylePrint` with a new mailto: regex in addition to the http regex. My next approach was to write a new `term.displayMailto` function.

Both of these failed because of the poor support for mailto in current browsers.

This is a temporary fix so that users know that apply isn't broken.

In the future if you'd make a form endpoint available to me I'd love to write an interactive application prompt where they could answer a few questions right there and have the mail send via our backend.
Breaking our CLI, will address in future commit.
@BSierakowski
Copy link
Author

Our netlify-cli dependency is very outdated, introducing 47 vulnerabilities (1 low, 21 moderate, 23 high, 2 critical.)

I'd love to update this and push but our CI is expecting certain versions and breaks when updating that dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant