Add semi-colon onto padding to be safe.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user