From 62efd548bbd87e4018cee195e6c74cd8a4e13d7b Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 27 Apr 2010 12:14:36 -0700 Subject: Bug 550727: Add JSONP Support to the JSON-RPC WebService Interface r=dkl, a=mkanat --- template/en/default/global/user-error.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/en') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index d866f301d..698eed8fb 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -989,6 +989,11 @@ Error: [% err_msg FILTER html %] Value: [% params FILTER html %] + [% ELSIF error == "json_rpc_invalid_callback" %] + You cannot use '[% callback FILTER html %]' as your 'callback' parameter. + For security reasons, only letters, numbers, and the following + characters are allowed in the 'callback' parameter: []._ + [% ELSIF error == "json_rpc_post_only" %] For security reasons, you may only call the '[% method FILTER html %]' method via HTTP POST. -- cgit v1.2.3-24-g4f1b