Browse files

Fix for JSON responses

  • Loading branch information...
1 parent 0af27ac commit dc9686e36c09597e3561717f50ecddb11b2752a0 @fakedarren fakedarren committed Dec 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Request.php
View
2 Request.php
@@ -9,7 +9,7 @@
} elseif (!empty($_POST['html'])){
$output = $_POST['html'];
} elseif (!empty($_POST['json'])){
- $output = $_POST['json'];
+ $output = stripslashes($_POST['json']);
} elseif (!empty($_GET['jsonp'])){
header('Content-Type: text/javascript');

0 comments on commit dc9686e

Please sign in to comment.