BlueScreen HTTP Request: Add support for rendering PHP Input#392
Open
janbarasek wants to merge 2 commits intonette:masterfrom
janbarasek:patch-4
Open
BlueScreen HTTP Request: Add support for rendering PHP Input#392janbarasek wants to merge 2 commits intonette:masterfrom janbarasek:patch-4
janbarasek wants to merge 2 commits intonette:masterfrom
janbarasek:patch-4
Conversation
|
Hi it's nice feature but this "JSON detection" is very dumb. I think it would be better to detect JSON using content type (application/json). |
Contributor
|
You cannot simple use |
…ion as HTTP header.
Contributor
Author
|
Thanks to everybody. @lukaspijak Added detection by HTTP header @JanTvrdik Added limitation for 10000 input characters. |
de3ad52 to
191c0d2
Compare
2b958bb to
f36b649
Compare
68b0ec8 to
344c772
Compare
8ec7417 to
c8f135c
Compare
c3c8bf0 to
6f7e1c3
Compare
84dee11 to
bd73e33
Compare
7799297 to
a386d38
Compare
f3f04e0 to
0a90e93
Compare
5ee33d7 to
8e708de
Compare
|
+1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If request was called as ajax json payload with some data but without
'Content-Type': 'application/x-www-form-urlencoded'header, Tracy can not dump sent values.This change add automatic detection of
PHP Inputand render toHTTP requestsection.Example:
If entered data was short json, Tracy will detect it automatically and dump as array for bette readability.
More information (Czech language): https://php.baraja.cz/ajax-post
Thanks.