diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-07-06 11:12:35 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-07-06 11:12:35 +0200 |
commit | b98c9ee7fa567785ba442841c233526f53ff546e (patch) | |
tree | 401bb32b9e7d0cdd5978788cb9b3173a63619196 /src | |
parent | dd9a627ab40e69e903d731f9644055faab8163fa (diff) | |
download | volse-webtrap-b98c9ee7fa567785ba442841c233526f53ff546e.tar.gz volse-webtrap-b98c9ee7fa567785ba442841c233526f53ff546e.tar.bz2 volse-webtrap-b98c9ee7fa567785ba442841c233526f53ff546e.zip |
Whitespace only.
Diffstat (limited to 'src')
-rw-r--r-- | src/process-request.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/process-request.php b/src/process-request.php index 0df43d9..9c6a006 100644 --- a/src/process-request.php +++ b/src/process-request.php @@ -6,17 +6,17 @@ // SPDX-License-Identifier: AGPL-3.0-or-later $data = [ - 'SERVER_NAME' => $_SERVER['SERVER_NAME'], - 'REMOTE_ADDR' => $_SERVER['REMOTE_ADDR'], - 'REMOTE_PORT' => $_SERVER['REMOTE_PORT'], - 'REQUEST_METHOD' => $_SERVER['REQUEST_METHOD'], - 'REQUEST_URI' => $_SERVER['REQUEST_URI'], - 'QUERY_STRING' => $_SERVER['QUERY_STRING'], - 'REQUEST_TIME' => $_SERVER['REQUEST_TIME'], - 'REQUEST_HEADERS' => getallheaders(), - 'POST' => $_POST, - 'COOKIES' => $_COOKIE, - 'BODY' => file_get_contents('php://input'), + 'SERVER_NAME' => $_SERVER['SERVER_NAME'], + 'REMOTE_ADDR' => $_SERVER['REMOTE_ADDR'], + 'REMOTE_PORT' => $_SERVER['REMOTE_PORT'], + 'REQUEST_METHOD' => $_SERVER['REQUEST_METHOD'], + 'REQUEST_URI' => $_SERVER['REQUEST_URI'], + 'QUERY_STRING' => $_SERVER['QUERY_STRING'], + 'REQUEST_TIME' => $_SERVER['REQUEST_TIME'], + 'REQUEST_HEADERS' => getallheaders(), + 'POST' => $_POST, + 'COOKIES' => $_COOKIE, + 'BODY' => file_get_contents('php://input'), ]; $file_name = dirname(__DIR__) . "/payloads/{$data['REQUEST_TIME']}-{$data['SERVER_NAME']}.json"; |