From da4c6d7cb85ca27c0429df8a383da0813b848992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Fri, 1 Nov 2019 12:10:33 +0100 Subject: [PATCH 1/2] BlueScreen HTTP Request: Add support for rendering PHP Input --- src/Tracy/BlueScreen/assets/content.phtml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Tracy/BlueScreen/assets/content.phtml b/src/Tracy/BlueScreen/assets/content.phtml index 0a7404bbc..5aae37e34 100644 --- a/src/Tracy/BlueScreen/assets/content.phtml +++ b/src/Tracy/BlueScreen/assets/content.phtml @@ -309,6 +309,18 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : ''; + +

PHP Input

+
+ +

$

From a584d16f2b86908ebf775453ce608d0def0c0023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Sat, 2 Nov 2019 17:42:57 +0100 Subject: [PATCH 2/2] Content.phtml: Added PHP Input maxlen for long inputs and json detection as HTTP header. --- src/Tracy/BlueScreen/assets/content.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tracy/BlueScreen/assets/content.phtml b/src/Tracy/BlueScreen/assets/content.phtml index 5aae37e34..b721c66cf 100644 --- a/src/Tracy/BlueScreen/assets/content.phtml +++ b/src/Tracy/BlueScreen/assets/content.phtml @@ -310,12 +310,12 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : '';

PHP Input