aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorCedric Izoard <Cedric.Izoard@ceva-dsp.com>2016-06-14 12:51:47 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-19 19:27:36 (GMT)
commita9c52e8066c5d9a2b7e55f2a48ac44ffa230c4c0 (patch)
tree7c405bc121de50c778aac854ed43f4610fa487b4 /hs20
parent04c18fa04b3273128a9d96fff37ec4d70c42446f (diff)
downloadhostap-a9c52e8066c5d9a2b7e55f2a48ac44ffa230c4c0.zip
hostap-a9c52e8066c5d9a2b7e55f2a48ac44ffa230c4c0.tar.gz
hostap-a9c52e8066c5d9a2b7e55f2a48ac44ffa230c4c0.tar.bz2
HS 2.0R2: No longer use HTTP_RAW_POST_DATA
As HTTP_RAW_POST_DATA is deprecated, use php://input instead. Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/www/spp.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/hs20/server/www/spp.php b/hs20/server/www/spp.php
index dde4434..002d028 100644
--- a/hs20/server/www/spp.php
+++ b/hs20/server/www/spp.php
@@ -96,7 +96,8 @@ else
putenv("HS20USER");
putenv("HS20REALM=$realm");
-putenv("HS20POST=$HTTP_RAW_POST_DATA");
+$postdata = file_get_contents("php://input");
+putenv("HS20POST=$postdata");
$addr = $_SERVER["REMOTE_ADDR"];
putenv("HS20ADDR=$addr");