symfony/symfony — pull request #10979 by artursvonda (2014-05-23 14:35:08+00:00)
Title: Make rootPath part of regex greedy

- Fixes #10977
- Also replaced `isset() && true` with simple `!empty()` which is equivalent.