Exclude .htaccess modifications from code checker
After the initial installation ownCloud will write some content into the .htaccess file such as the 404 or 403 directives. This adds a magic marker into the .htaccess file and only the content above this marker will be compared in the integrity checker.
Showing
- lib/private/integritycheck/checker.php 19 additions, 2 deletionslib/private/integritycheck/checker.php
- lib/private/integritycheck/helpers/environmenthelper.php 1 addition, 1 deletionlib/private/integritycheck/helpers/environmenthelper.php
- lib/private/integritycheck/iterator/excludefoldersbypathfilteriterator.php 1 addition, 0 deletions...ritycheck/iterator/excludefoldersbypathfilteriterator.php
- lib/private/setup.php 1 addition, 1 deletionlib/private/setup.php
- tests/data/integritycheck/htaccessUnmodified/.htaccess 1 addition, 0 deletionstests/data/integritycheck/htaccessUnmodified/.htaccess
- tests/data/integritycheck/htaccessUnmodified/subfolder/.htaccess 4 additions, 0 deletions...ata/integritycheck/htaccessUnmodified/subfolder/.htaccess
- tests/data/integritycheck/htaccessWithInvalidModifiedContent/.htaccess 5 additions, 0 deletions...tegritycheck/htaccessWithInvalidModifiedContent/.htaccess
- tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess 4 additions, 0 deletions...integritycheck/htaccessWithValidModifiedContent/.htaccess
- tests/data/integritycheck/htaccessWithValidModifiedContent/subfolder/.htaccess 4 additions, 0 deletions...heck/htaccessWithValidModifiedContent/subfolder/.htaccess
- tests/lib/integritycheck/checkertest.php 89 additions, 0 deletionstests/lib/integritycheck/checkertest.php
Please register or sign in to comment