bug 1848 fixed: do not print methodName in header to avoid CRLF attack.
git-svn-id: http://piwigo.org/svn/branches/2.1@6890 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
e05f2b5e61
commit
25ca538c0c
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF
|
||||||
|
|
||||||
if ( $method==null )
|
if ( $method==null )
|
||||||
{
|
{
|
||||||
return new PwgError(WS_ERR_INVALID_METHOD, 'Method name "'.$methodName.'" is not valid');
|
return new PwgError(WS_ERR_INVALID_METHOD, 'Method name is not valid');
|
||||||
}
|
}
|
||||||
|
|
||||||
// parameter check and data coercion !
|
// parameter check and data coercion !
|
||||||
|
|
Loading…
Add table
Reference in a new issue