Author: chabotc
Date: Thu May 22 04:27:34 2008
New Revision: 659080
URL: http://svn.apache.org/viewvc?rev=659080&view=rev
Log:
Authz can be in post too
Modified:
incubator/shindig/trunk/php/src/gadgets/http/ProxyServlet.php
Modified: incubator/shindig/trunk/php/src/gadgets/http/ProxyServlet.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/http/ProxyServlet.php?rev=659080&r1=659079&r2=659080&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/http/ProxyServlet.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/http/ProxyServlet.php Thu May 22
04:27:34 2008
@@ -52,7 +52,7 @@
echo "<html><body><h1>400 - Missing url
parameter</h1></body></html>";
}
$signingFetcherFactory = $gadgetSigner = false;
- if (!empty($_GET['authz'])) {
+ if (!empty($_GET['authz']) || !empty($_POST['authz'])) {
$gadgetSigner =
Config::get('security_token_signer');
$gadgetSigner = new $gadgetSigner();
$signingFetcherFactory = new
SigningFetcherFactory(Config::get("private_key_file"));