From d1fb52264bc41a54061614772580377f200e90ee Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 16 Nov 2010 15:36:53 -0800 Subject: Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh* --- plugins/LinkPreview/linkpreview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/LinkPreview/linkpreview.js') 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); -- cgit v1.2.3-54-g00ecf