diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-27 21:14:36 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-04-27 21:14:36 +0200 |
commit | 62efd548bbd87e4018cee195e6c74cd8a4e13d7b (patch) | |
tree | dcb099c6e0ee35e0b9400a28ca95fa6d863d5d2f /template/en/default/global/user-error.html.tmpl | |
parent | 68af4d3c22ce1cb25793af5fb9f422bbb6ebe80e (diff) | |
download | bugzilla-62efd548bbd87e4018cee195e6c74cd8a4e13d7b.tar.gz bugzilla-62efd548bbd87e4018cee195e6c74cd8a4e13d7b.tar.xz |
Bug 550727: Add JSONP Support to the JSON-RPC WebService Interface
r=dkl, a=mkanat
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
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: <code>[]._</code> + [% ELSIF error == "json_rpc_post_only" %] For security reasons, you may only call the '[% method FILTER html %]' method via HTTP POST. |