diff options
author | Brion Vibber <brion@pobox.com> | 2010-11-16 15:36:53 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-11-16 15:36:53 -0800 |
commit | d1fb52264bc41a54061614772580377f200e90ee (patch) | |
tree | 9ee7c3e8771ee4e9fb67b595ec9ec8be80d4e08e /plugins/LinkPreview/linkpreview.js | |
parent | 9cdb9cc18d7aea9eaf13443413ba051e78e1f89e (diff) |
Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh*
Diffstat (limited to 'plugins/LinkPreview/linkpreview.js')
-rw-r--r-- | plugins/LinkPreview/linkpreview.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/LinkPreview/linkpreview.js b/plugins/LinkPreview/linkpreview.js index 641adb729..0c0eb734e 100644 --- a/plugins/LinkPreview/linkpreview.js +++ b/plugins/LinkPreview/linkpreview.js @@ -54,7 +54,8 @@ url: url, format: 'json', maxwidth: oEmbed.width, - maxheight: oEmbed.height + maxheight: oEmbed.height, + token: $('#token').val() }; $.get(oEmbed.api, params, function(data, xhr) { callback(data); |