tbrehm
2011-09-12 f8442b3303bc790814109a78aa4362477acf7b15
Fixed: FS#1737 - WebDAV - PHP files
Fixed: PHP notice in tform_actions.inc.php
2 files modified
14 ■■■■■ changed files
interface/lib/classes/tform_actions.inc.php 2 ●●● patch | view | raw | blame | history
server/conf/vhost.conf.master 12 ●●●●● patch | view | raw | blame | history
interface/lib/classes/tform_actions.inc.php
@@ -139,7 +139,7 @@
                                session_write_close();
                                header($redirect);
                            // When a returnto variable is set
                            } elseif ($_SESSION["s"]["form"]["return_to_url"] != '') {
                            } elseif (isset($_SESSION["s"]["form"]["return_to_url"]) && $_SESSION["s"]["form"]["return_to_url"] != '') {
                                $redirect = $_SESSION["s"]["form"]["return_to_url"];
                                $_SESSION["s"]["form"]["return_to_url"] = '';
                                session_write_close();
server/conf/vhost.conf.master
@@ -203,6 +203,12 @@
    </IfModule>
    <IfModule mod_dav_fs.c>
      # Do not execute PHP files in webdav directory
      <Directory {tmpl_var name='document_root'}/webdav>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
@@ -411,6 +417,12 @@
    </IfModule>
    <IfModule mod_dav_fs.c>
      # Do not execute PHP files in webdav directory
      <Directory {tmpl_var name='document_root'}/webdav>
        <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN