Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Logging] Add support for Firefox (43+) in ChromePhpHandler#18439

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:2.3fromarjenm:add_firefox_to_chromephp
Apr 5, 2016
Merged

[Logging] Add support for Firefox (43+) in ChromePhpHandler#18439

nicolas-grekas merged 1 commit intosymfony:2.3fromarjenm:add_firefox_to_chromephp
Apr 5, 2016

Conversation

@arjenm
Copy link
Contributor

QA
Branch?2.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone
LicenseMIT
Doc PRnone

Firefox added support for Chrome Logger a while back inversion 43.
Support for Firefox was added in the ChromePHPHandler ofMonolog 1.18.0, although its not mentioned in the changelog.

This PR is basically just to replace the originally copied regular expression,with this new one.

There should be no BC breakage, even though users may be using Monolog versions between 1.11 and 1.18. Monolog's ChromePHPHandler only got minor touch ups and its protocol (and thus output) remained the same.
This fix in fact also adds support for Firefox 43+ to older Monolog's when using the Symfony-version of that handler (which they should be using), since the Symfony-version of ChromePhpHandler completely overwrites the 'headersAccepted'-check of Monolog.

@nicolas-grekas
Copy link
Member

👍

zemd reacted with thumbs up emoji

@xabbuh
Copy link
Member

👍

Status: Reviewed

In the long term we should probably rather make this information somehow accessible in the base handler to not need to duplicate it (seeSeldaek/monolog#761).

@nicolas-grekas
Copy link
Member

Thank you@arjenm.

@nicolas-grekasnicolas-grekas merged commitc8efc4d intosymfony:2.3Apr 5, 2016
nicolas-grekas added a commit that referenced this pull requestApr 5, 2016
…r (arjenm)This PR was merged into the 2.3 branch.Discussion----------[Logging] Add support for Firefox (43+) in ChromePhpHandler| Q             | A| ------------- | ---| Branch?       | 2.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | none| License       | MIT| Doc PR        | noneFirefox added support for Chrome Logger a while back in [version 43](https://www.mozilla.org/en-US/firefox/43.0/releasenotes/).Support for Firefox was added in the ChromePHPHandler of [Monolog 1.18.0](Seldaek/monolog#721), although its not mentioned in the changelog.This PR is basically just to replace the originally copied regular expression, [with this new one](Seldaek/monolog@fa96f6a).There should be no BC breakage, even though users may be using Monolog versions between 1.11 and 1.18. Monolog's ChromePHPHandler only got minor touch ups and its protocol (and thus output) remained the same.This fix in fact also adds support for Firefox 43+ to older Monolog's when using the Symfony-version of that handler (which they should be using), since the Symfony-version of ChromePhpHandler completely overwrites the 'headersAccepted'-check of Monolog.Commits-------c8efc4d [Logging] Add support for firefox in ChromePhpHandler
This was referencedApr 29, 2016
@arjenmarjenm deleted the add_firefox_to_chromephp branchJanuary 17, 2017 07:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@arjenm@nicolas-grekas@xabbuh@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp