1. 20 Jan, 2010 2 commits
    • anarcat's avatar
      do not follow symlinks · 2a1c3e8c
      anarcat authored
      this is to avoid the possibility of Denial of Service attacks from the drupal admins: if someone were to create a symlink in files/ that would point to the parent sites/ directory, the recursive chmod that happen on verify would loop inifinitely (i saw one running for 1h)
      2a1c3e8c
    • anarcat's avatar
      do not flush privileges: it's not required when you use GRANT/REVOKE, and... · 0f051e3c
      anarcat authored
      do not flush privileges: it's not required when you use GRANT/REVOKE, and requires unnecessary permissions
      0f051e3c
  2. 18 Jan, 2010 1 commit
    • anarcat's avatar
      #683800 - fix removal of symlink on site removal · 1ee65ab6
      anarcat authored
      this was failing because provision_path_unlink was checking the file existence (file_exists) before removing the symlink. in this case, the file really *didn't* exist because the link target was already removed.
      
      instead of checking, we just try to delete the file, if it fails, it will return false anyways.
      
      we do the same with rmdir while we're here.
      
      also make sure we work on the trimmed file path
      1ee65ab6
  3. 15 Jan, 2010 2 commits
  4. 13 Jan, 2010 2 commits
  5. 12 Jan, 2010 2 commits
  6. 07 Jan, 2010 4 commits
  7. 23 Dec, 2009 1 commit
  8. 17 Dec, 2009 3 commits
    • Adrian Rossouw's avatar
      Revert "initialize mysql credentials from drush bootstrap so that we can work... · 4b9a5546
      Adrian Rossouw authored
      Revert "initialize mysql credentials from drush bootstrap so that we can work on non-verified sites easily"
      
      Provision is managing the master database connection here, drush's db credentials are the details for the SITE, and will only be available at drush_bootstrap_drupal_site.
      
      we need the master db connection from drush_bootstrap_drush already, and we will never ever ever be able to make use of drush' code in this regard because what we are doing is completely outside of the Drupal context.
      
      This reverts commit 5439e6d01d32fd7351c404a6bf74c11a028ee8a4.
      4b9a5546
    • anarcat's avatar
      fix SSL redirection · 4d7d5505
      anarcat authored
      4d7d5505
    • anarcat's avatar
      fix t() invocation in ssl mode · 1e7dd858
      anarcat authored
      1e7dd858
  9. 16 Dec, 2009 3 commits
  10. 14 Dec, 2009 2 commits
  11. 10 Dec, 2009 2 commits
  12. 08 Dec, 2009 6 commits
  13. 05 Dec, 2009 1 commit
  14. 20 Nov, 2009 4 commits
  15. 18 Nov, 2009 1 commit
  16. 17 Nov, 2009 4 commits