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

Fix X-Request-Start header when added to server #213

Merged
merged 3 commits into from
Apr 12, 2021

Conversation

asgrim
Copy link
Collaborator

@asgrim asgrim commented Apr 9, 2021

Fixes #212

Previously only $_SERVER values prefixed with HTTP_ (i.e. HTTP headers) were returned; I updated this as in some cases (e.g. with nginx configuration) the X-Request-Start header value may be set directly into $_SERVER, rather than being prefixed (such as how Apache does by default). This makes the header checking more flexible and less fussy to configure.

@asgrim asgrim added the enhancement New feature or request label Apr 9, 2021
@asgrim asgrim added this to the 6.1.0 milestone Apr 9, 2021
@asgrim asgrim self-assigned this Apr 9, 2021
asgrim added 3 commits April 12, 2021 08:15
…P_* keys

Previously only $_SERVER values prefixed with HTTP_ (i.e. HTTP headers) were
returned; I updated this as in some cases (e.g. with nginx configuration) the
X-Request-Start header value may be set directly into $_SERVER, rather than
being prefixed (such as how Apache does by default). This makes the header
checking more flexible and less fussy to configure.
@asgrim asgrim force-pushed the fix-x-request-start-header-when-added-to-server branch from 70a444a to ddd264b Compare April 12, 2021 07:18
@asgrim asgrim merged commit e484be9 into master Apr 12, 2021
@asgrim asgrim deleted the fix-x-request-start-header-when-added-to-server branch April 12, 2021 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check X-Request-Start is detected and passed on
1 participant