We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8f2f8 commit 3dd7d40Copy full SHA for 3dd7d40
View/JsonpHandler.php
@@ -34,7 +34,7 @@ protected function getCallback(Request $request)
34
$callback = $request->query->get($this->callbackParam);
35
$validator = new \JsonpCallbackValidator();
36
37
- if (!$validator->validate($this->callbackParam)) {
+ if (!$validator->validate($callback)) {
38
throw new BadRequestHttpException('Invalid JSONP callback value');
39
}
40
0 commit comments