Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

better matching for restFUL actions

  • Loading branch information...
commit 73568d88df897763ee576a7c48b4c413bffd0179 1 parent 6622a90
@evantahler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  API/index.php
View
2  API/index.php
@@ -92,7 +92,7 @@
$path = $parts[0];
foreach ($ACTIONS as $action)
{
- if (strlen($action[3]) > 0 && strtolower($path) == strtolower($action[3]))
+ if (strlen($action[3]) > 0 && strstr($path,$action[3]) !== false)
{
$PARAMS["Action"] = $action[0];
break;
Please sign in to comment.
Something went wrong with that request. Please try again.