Skip to content

Conversation

@Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 21, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
Documentation n/a
License MIT

What's in this PR?

The Request::getRequestTarget has a weird definition:

Retrieves the message's request-target either as it will appear (for clients), as it appeared at request (for servers), or as it was specified for the instance (see withRequestTarget()).

So sometimes it will include the domain and sometimes it will only be the path.

This PR makes sure it always is the full URL.

@dbu dbu merged commit cf58b1a into master Jul 22, 2016
@dbu dbu deleted the full-url branch July 22, 2016 09:49
@dbu
Copy link
Contributor

dbu commented Jul 22, 2016

👍

@Nyholm
Copy link
Member Author

Nyholm commented Jul 22, 2016

Tank you for merging.

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.

3 participants