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

Port ignored in response redirect [5.X] #1363

Merged
merged 3 commits into from Jun 19, 2017
Merged

Conversation

aguilarcarlos
Copy link
Contributor

Pre-Submission Checklist

  • Opened an issue discussing these changes before opening the PR
  • Ran the linter and tests via make prepush
  • Included comprehensive and convincing tests for changes

Issues

Closes:

Changes

Take in account opts.port passed in the object of response.redirect. If the parameter is in the object as documentation describes Response API, then override the port.

@aguilarcarlos aguilarcarlos changed the title Port ignored in response redirect Port ignored in response redirect [5.X] May 31, 2017
@retrohacker
Copy link
Member

Failing tests are unrelated to this PR.

Copy link
Member

@retrohacker retrohacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work! Love the tests ❤️

@retrohacker retrohacker merged commit 61c0cb5 into restify:5.x Jun 19, 2017
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.

None yet

2 participants