Hi all,
Inside function blogapi_get_post($req_params), it should check userId
$node = node_load(array('nid' => $params[0]));
+ if (!$node || $node->uid != $user->uid) {
+ return blogapi_error(message_na());
+ }
$blog = _blogapi_get_post($node, true);
Regards,
yysun
http://www.wbeditor.com
Comments
Comment #1
yysun commentedmaybe it should use
return blogapi_error(message_access());
Comment #2
yysun commentedMaybe my last post set this issue to be "fixed". But it's not yet. Checked the CVS.
yysun
http://www.wbeditor.com
Comment #3
Prometheus6 commentedThe user is validated before the call to node_load()