Author: kn
Date: Thu Oct 11 15:20:33 2007
New Revision: 6419

Log:
- More MS transport updates

Modified:
    trunk/Webdav/src/transports/microsoft.php

Modified: trunk/Webdav/src/transports/microsoft.php
==============================================================================
--- trunk/Webdav/src/transports/microsoft.php [iso-8859-1] (original)
+++ trunk/Webdav/src/transports/microsoft.php [iso-8859-1] Thu Oct 11 15:20:33 
2007
@@ -17,6 +17,10 @@
  *
  * Still not working:
  *  - Microsoft-WebDAV-MiniRedir/5.1.2600
+ *
+ * Seen, but unknown:
+ *  - Mozilla/2.0 (compatible; MS FrontPage 4.0)
+ *  - MSFrontPage/4.0
  *
  * @version //autogentag//
  * @package Webdav
@@ -45,9 +49,15 @@
     protected function sendResponse( ezcWebdavDisplayInformation $info )
     {
         // Required by MS Clients to not think this is Frontpage stuff
-        $info->response->setHeader( 'MS-Author-Via', 'DAV' );
+        if ( $info->response instanceof ezcWebdavOptionsResponse )
+        {
+            $info->response->setHeader( 'MS-Author-Via', 'DAV' );
+        }
 
-        return parent::sendResponse( $info );
+        parent::sendResponse( $info );
+
+        // MS IE7 requires a newline after the XML.
+        echo "\n";
     }
 
     /**


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to