Skip to content

Modify getServerName() and getServerPort() to reference "Host" header. - #626

Closed
eujungkim wants to merge 1 commit into
spring-projects:masterfrom
eujungkim:spr12088
Closed

eujungkim wants to merge 1 commit into
spring-projects:masterfrom
eujungkim:spr12088

Conversation

@eujungkim

Copy link
Copy Markdown
Contributor

This commit modifies getServerName() and getServerPort() in MockHttpServletRequest class to reference "Host" header if header is set.

I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.

@sbrannen

Copy link
Copy Markdown
Member

Thank you for submitting the pull request!

Please note that this has been resolved in a similar fashion in 110be33.

I am therefore closing this pull request.

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.

2 participants