James Cole
3 years ago
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
3 changed files with
14 additions and
6 deletions
app/Console/HaveAccess.php
changelog.md
config/importer.php
@ -87,16 +87,16 @@ trait HaveAccess
return false ;
}
foreach ( $paths as $current ) {
if ( $current === $path ) {
foreach ( $paths as $current ) {
if ( $current === $path ) {
return true ;
}
if ( str_starts_with ( $path , $current )) {
if ( str_starts_with ( $path , $current )) {
app ( 'log' ) -> debug ( sprintf ( 'SOFT match on isAllowedPath, "%s" is a subdirectory of "%s"' , $path , $current ));
return true ;
}
}
app ( 'log' ) -> error ( sprintf ( '"%s" is not in the allowed paths.' , $path ), $paths );
app ( 'log' ) -> error ( sprintf ( '"%s" is not in the allowed paths.' , $path ), $paths );
return false ;
}
}
@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## 1.2.0 - 2023-03-13
### Fixed
- [Issue 7214 ](https://github.com/firefly-iii/firefly-iii/issues/7214 ) Previous issue with account currency matching needed a Data Importer fix as well.
### Changed
- This release will only work with Firefly III v6.0.4
## 1.2.0 - 2023-03-13
### Fixed
- [Issue 7207 ](https://github.com/firefly-iii/firefly-iii/issues/7207 ) Missing key validation
@ -23,7 +23,7 @@
declare ( strict_types = 1 );
return [
'version' => '1.2.0 ' ,
'version' => '1.2.1 ' ,
'flows' => [ 'nordigen' , 'spectre' , 'file' ],
'flow_titles' => [
'file' => 'File' ,
@ -43,7 +43,7 @@ return [
'ignore_duplicate_errors' => env ( 'IGNORE_DUPLICATE_ERRORS' , false ),
'namespace' => 'c40dcba2-411d-11ec-973a-0242ac130003' ,
'use_cache' => env ( 'USE_CACHE' , false ),
'minimum_version' => '6.0.3 ' ,
'minimum_version' => '6.0.4 ' ,
'cache_api_calls' => false ,
'ignored_files' => [ '.gitignore' ],
'tracker_site_id' => env ( 'TRACKER_SITE_ID' , '' ),