forked from GNUsocial/gnu-social
Use session token protection on oEmbed proxy action for LinkPreview... and commit the file *sigh*
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user