"ReferenceError: param_escape is not defined" error
future-generation opened this issue · 0 comments
future-generation commented
The very great plugin unfortunately throws an error in the current ttrss version.:
ReferenceError: param_escape is not defined
Replacing line 3 in shaarli.js
var query = "?op=pluginhandler&plugin=shaarli&method=getShaarli&id=" + param_escape(id);
with following
var query = "?op=pluginhandler&plugin=shaarli&method=getShaarli&id=" + encodeURIComponent(id);
fixes the problem and the plugin is working again as expected.