mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-01 07:22:09 +02:00
- ws accepts method name in GET paraeters even if http method is POST (easier to see in apache logs)
- picture rating is done through POST and not GET git-svn-id: http://piwigo.org/svn/trunk@11834 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -41,6 +41,10 @@ class PwgRestRequestHandler
|
||||
$params[$name]=$value;
|
||||
}
|
||||
}
|
||||
if ( empty($method) && isset($_GET['method']) )
|
||||
{
|
||||
$method = $_GET['method'];
|
||||
}
|
||||
|
||||
if ( empty($method) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user