Skip to content

Show full URL in event name #2

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

Merged
merged 2 commits into from
Jul 22, 2016
Merged

Show full URL in event name #2

merged 2 commits into from
Jul 22, 2016

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.

2 participants