Skip to content

SPR-16138 - MockHttpServletRequest: use computed serverName - #1579

Closed
stevenschlansker wants to merge 1 commit into
spring-projects:masterfrom
stevenschlansker:mock-server-name
Closed

stevenschlansker wants to merge 1 commit into
spring-projects:masterfrom
stevenschlansker:mock-server-name

Conversation

@stevenschlansker

Copy link
Copy Markdown
Contributor

otherwise it's easy to accidentally get 'localhost' even if you set a Host: header

@pivotal-issuemaster

Copy link
Copy Markdown

@stevenschlansker Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster

Copy link
Copy Markdown

@stevenschlansker Thank you for signing the Contributor License Agreement!

@snicoll

snicoll commented Oct 28, 2017

Copy link
Copy Markdown
Member

@stevenschlansker please create a Jira issue for this change

@stevenschlansker

Copy link
Copy Markdown
Contributor Author

@snicoll snicoll changed the title MockHttpServletRequest: use computed serverName SPR-16138 - MockHttpServletRequest: use computed serverName Nov 1, 2017
@jhoeller

jhoeller commented Nov 5, 2017

Copy link
Copy Markdown
Contributor

Addressed as part of a larger revision along with SPR-16160. Thanks for the pull request, in any case!

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.

5 participants