Author: chabotc
Date: Fri Dec 5 00:34:00 2008
New Revision: 723651
URL: http://svn.apache.org/viewvc?rev=723651&view=rev
Log:
doh
Modified:
incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php
Modified: incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php?rev=723651&r1=723650&r2=723651&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/ProxyHandler.php Fri Dec 5
00:34:00 2008
@@ -281,7 +281,8 @@
// filter out headers that would otherwise mess up our output
if (strcasecmp($key, "Transfer-Encoding") != 0 && strcasecmp($key,
"Cache-Control") != 0 && strcasecmp($key, "Expires") != 0 && strcasecmp($key,
"Content-Length") != 0 && strcasecmp($key, "ETag") != 0) {
header("$key: $val");
- } elseif ($key == 'Content-Type' && $val ==
'application/x-shockwave-flash') {
+ }
+ if ($key == 'Content-Type' && $val ==
'application/x-shockwave-flash') {
// We're skipping the content disposition header for flash due to
an issue with Flash player 10
// This does make some sites a higher value phishing target, but
this can be mitigated by
// additional referer checks.