8000 [FrameworkBundle] Allowed symlinks when searching for translation, searialization and validation files by tifabien · Pull Request #20547 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Allowed symlinks when searching for translation, searialization and validation files #20547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to 8000 file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[FrameworkBundle] Fix Finder when searching for translation files wit…
…h symlinks.
  • Loading branch information
tifabien committed Nov 17, 2016
commit 158a41960ffd970affa624b4085a92071215561d
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder

$files = array();
$finder = Finder::create()
->followLinks()
->files()
->filter(function (\SplFileInfo $file) {
return 2 === substr_count($file->getBasename(), '.') && preg_match('/\.\w+$/', $file->getBasename());
Expand Down
0