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

Allow numeric ports for proxy sites #984

Merged
merged 1 commit into from Nov 19, 2018
Merged

Allow numeric ports for proxy sites #984

merged 1 commit into from Nov 19, 2018

Conversation

roberto-aguilar
Copy link
Contributor

@roberto-aguilar roberto-aguilar commented Nov 19, 2018

Fixes #910 by casting the port to a string and therefore allowing string concatenation in z-ray cleanup

This enables

{
  "map": "homestead.test",
  "to": 8080,
  "type": "proxy"
}

and keeps:

{
  "map": "homestead.test",
  "to": "8080",
  "type": "proxy"
}

It's probable that this will occur in other places, i will look around, but in the meantime, this fixes the most common scenario that is a fresh installation with its defaults.

Fixes #910 by casting the port to a string and therefore allowing string
concatenation in [z-ray
cleanup](https://github.com/laravel/homestead/blob/master/scripts/homestead.rb#L269)

It's probable that this will occur in other places, i will look around,
but in the meantime, this fixes the most common scenario that is a fresh
installation with its defaults.
@svpernova09
Copy link
Collaborator

Thanks!

@svpernova09 svpernova09 merged commit 1f81dc9 into laravel:master Nov 19, 2018
@roberto-aguilar roberto-aguilar deleted the hotfix/port-casting branch November 19, 2018 23:01
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.

"no implicit conversion of Integer into String" error when configuring a proxy site type
2 participants