Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh*

This commit is contained in:
Brion Vibber
2010-11-16 15:36:53 -08:00
parent 9cdb9cc18d
commit d1fb52264b
2 changed files with 86 additions and 1 deletions

View File

@@ -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);