mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 14:07:37 +03:00
2009-12-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Defined method name in XmlRpcMethod subclasses. * src/XmlRpcMethodFactory.cc * src/XmlRpcMethodImpl.cc * src/XmlRpcMethodImpl.h * test/XmlRpcMethodTest.cc
This commit is contained in:
parent
af20aea88c
commit
1c331e901a
5 changed files with 178 additions and 56 deletions
|
@ -844,7 +844,7 @@ BDE SystemMulticallXmlRpcMethod::process
|
|||
continue;
|
||||
}
|
||||
const std::string& methodName = (*i)[KEY_METHOD_NAME].s();
|
||||
if(methodName == "system.multicall") {
|
||||
if(methodName == getMethodName()) {
|
||||
list << createErrorResponse
|
||||
(DL_ABORT_EX("Recursive system.multicall forbidden."));
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue