projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c18fa
)
HS 2.0R2: No longer use HTTP_RAW_POST_DATA
author
Cedric Izoard
<Cedric.Izoard@ceva-dsp.com>
Tue, 14 Jun 2016 12:51:47 +0000
(12:51 +0000)
committer
Jouni Malinen
<j@w1.fi>
Sun, 19 Jun 2016 19:27:36 +0000
(22:27 +0300)
As HTTP_RAW_POST_DATA is deprecated, use php://input instead.
Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
hs20/server/www/spp.php
patch
|
blob
|
history
diff --git
a/hs20/server/www/spp.php
b/hs20/server/www/spp.php
index
dde4434
..
002d028
100644
(file)
--- 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");