mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '4.13' into 4
This commit is contained in:
commit
c2c5db0da0
@ -30,7 +30,7 @@ class Path
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup and join all parts
|
// Cleanup and join all parts
|
||||||
$parts = array_filter(array_map('trim', $parts ?? []));
|
$parts = array_filter(array_map('trim', array_filter($parts ?? [])));
|
||||||
$fullPath = static::normalise(implode(DIRECTORY_SEPARATOR, $parts));
|
$fullPath = static::normalise(implode(DIRECTORY_SEPARATOR, $parts));
|
||||||
|
|
||||||
// Protect against directory traversal vulnerability (OTG-AUTHZ-001)
|
// Protect against directory traversal vulnerability (OTG-AUTHZ-001)
|
||||||
|
@ -27,7 +27,7 @@ class i18nTextCollectorTask extends BuildTask
|
|||||||
- locale: Sets default locale
|
- locale: Sets default locale
|
||||||
- writer: Custom writer class (defaults to i18nTextCollector_Writer_RailsYaml)
|
- writer: Custom writer class (defaults to i18nTextCollector_Writer_RailsYaml)
|
||||||
- module: One or more modules to limit collection (comma-separated)
|
- module: One or more modules to limit collection (comma-separated)
|
||||||
- merge: Merge new strings with existing ones already defined in language files (default: FALSE)
|
- merge: Merge new strings with existing ones already defined in language files (default: TRUE)
|
||||||
";
|
";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user