Add semi-colon onto padding to be safe.

This commit is contained in:
Jesse O'Brien
2012-12-06 12:04:06 -05:00
parent 404b59730a
commit 4f5cc0cd97

View File

@@ -115,7 +115,7 @@ class Response {
{
$headers['Content-Type'] = 'application/javascript; charset=utf-8';
return new static($callback.'('.json_encode($data).')', $status, $headers);
return new static($callback.'('.json_encode($data).');', $status, $headers);
}
/**