-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FPM status page - JSON escape #11050
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sensible to me, just minor comments.
c915360
to
a34f93c
Compare
a34f93c
to
78fb2fd
Compare
@bukka There were some failures in nightly in regards to this change. https://github.com/php/php-src/actions/runs/4969852729/jobs/8893356141
|
This test constantly fails on Alpinelinux for all 32-bit arches (x86,armhf, armv7) TEST 16161/16323 [sapi/fpm/tests/bug64539-status-json-encoding.phpt]
========DIFF========
- string(5) "a=b"c"
+ string(0) ""
Done
========DONE======== Ref https://gitlab.alpinelinux.org/andypost/aports/-/merge_requests/3#note_307466 |
I will check. |
@bukka I marked the test as XFAIL for now, feel free to remove it whenever you have the time to have a look. |
This fixes bug #64539. It exposes the JSON string escape wrapped in the new API function
php_json_encode_string
. That is then used in the status page for each query string.