Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require dev port selected is 80, 443, or between 1024-65535 #895

Merged
merged 2 commits into from
Apr 18, 2023

Conversation

TylerAldrich
Copy link
Contributor

TIcket: https://gitlab.com/architect-io/architect-cli/-/issues/644

This prevents most cases of getting ERR_UNSAFE_PORT errors from Chrome/Firefox/etc. if the user happens to choose a port that browsers disallow connections to.

A full list of disallowed ports is browser dependent - Chrome and Firefox examples here. Ports 1-1023 are Well-known ports and many are reserved for specific services, so by forcing users to choose ports >= 1024 and <= 65535 the chance of selecting a well-known port that is blocked is less likely.

…unsafe" or reserved ports that browsers wont allow you to send traffic to
@TylerAldrich TylerAldrich changed the title Require dev port selected is between 1024-65535 Require dev port selected is 80, 443, or between 1024-65535 Apr 18, 2023
@tjhiggins tjhiggins merged commit c35a27b into rc Apr 18, 2023
@tjhiggins tjhiggins deleted the 644-dev-ports branch April 18, 2023 21:12
github-actions bot pushed a commit that referenced this pull request Apr 18, 2023
# [1.39.0-rc.3](v1.39.0-rc.2...v1.39.0-rc.3) (2023-04-18)

### Bug Fixes

* **dev:** Require dev port selected is 80, 443, or between 1024-65535  ([#895](#895)) ([c35a27b](c35a27b))
github-actions bot pushed a commit that referenced this pull request Apr 20, 2023
# [1.39.0-arc-custom-ingress-tls-3.2](v1.39.0-arc-custom-ingress-tls-3.1...v1.39.0-arc-custom-ingress-tls-3.2) (2023-04-20)

### Bug Fixes

* **dev:** Require dev port selected is 80, 443, or between 1024-65535  ([#895](#895)) ([c35a27b](c35a27b))
* **error:** Provide better error messages when you have conflicting subdomains ([3d8b2e1](3d8b2e1))
* **spec:** Add safe float type to avoid precision loss on yaml.load ([#894](#894)) ([e14e0cd](e14e0cd))

### Features

* **dev:** Automatic cache cleanup ([#857](#857)) ([8b46457](8b46457))
* **init:** Handle Docker Compose environment variable interpolation formats ([#881](#881)) ([6c30882](6c30882))
* **tls:** Added tls support ([b42ab75](b42ab75))
github-actions bot pushed a commit that referenced this pull request Apr 26, 2023
# [1.39.0](v1.38.0...v1.39.0) (2023-04-26)

### Bug Fixes

* **dev:** Require dev port selected is 80, 443, or between 1024-65535  ([#895](#895)) ([c35a27b](c35a27b))
* **error:** Provide better error messages when you have conflicting subdomains ([3d8b2e1](3d8b2e1))
* **exec:** Catch error when trying to hit accounts endpoint and fallback to allowing user to select a local env ([#897](#897)) ([8cd0732](8cd0732))
* **revert:** Revert deprecation warnings for liveness_probe keys ([cc7653d](cc7653d))
* **spec:** Add safe float type to avoid precision loss on yaml.load ([#894](#894)) ([e14e0cd](e14e0cd))

### Features

* **dev:** Automatic cache cleanup ([#857](#857)) ([8b46457](8b46457))
* **init:** Handle Docker Compose environment variable interpolation formats ([#881](#881)) ([6c30882](6c30882))
* **spec:** deprecate liveness_probe port and path keys ([#896](#896)) ([9e2104c](9e2104c))
@github-actions
Copy link

🎉 This PR is included in version 1.39.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants