This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component
Fabien Potencier cfe2640877 merged branch ocubom/fix-absolute-paths-detection (PR #2809)
Commits
-------

600066e [Templating] fixed 'scheme://' not detected as absolute path
e6f2687 [HttpKernel] fixed 'scheme://' not detected as absolute path
b50ac5b [Config] fixed 'scheme://' not detected as absolute path

Discussion
----------

[Config][HttpKernel][Templating] 'scheme://' paths not detected as absolute

Bug fix: yes
Feature addition: no
Backwards compatibility break: no (99%)
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

The method ```isAbsolutePath``` does not detect URL schemes as absolute. This makes imposible the use of wrappers to access remote files or the use of files (mostly configuration or templates) stored on phar archives (uses the scheme ```phar://``` in the path).

Three classes implement this methods: ```Symfony\Component\Config\FileLocator```, ```Symfony\Component\HttpKernel\Util\Filesystem``` and ```Symfony\Component\Templating\Loader\FilesytemLoader```. All are updated. Also includes a new check  on all related tests (```Symfony\Component\HttpKernel\Util\Filesystem``` lacks of test).
2011-12-13 17:41:54 +01:00
..
BrowserKit merged 2.0 2011-10-15 00:56:57 +02:00
ClassLoader merged 2.0 2011-09-28 16:08:31 +02:00
Config merged branch ocubom/fix-absolute-paths-detection (PR #2809) 2011-12-13 17:41:54 +01:00
Console merged 2.0 2011-12-01 15:45:30 +01:00
CssSelector [DoctrineBridge] fixed some CS 2011-12-13 10:22:12 +01:00
DependencyInjection [Config] added ability to set info message and example to node definition 2011-12-13 06:04:53 -05:00
DomCrawler merged 2.0 2011-12-13 16:12:53 +01:00
EventDispatcher [EventDispatcher] Added missing object destruction in test tearDown() and removed duplicated tests. 2011-12-05 14:32:28 +05:45
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form merged 2.0 2011-12-13 16:12:53 +01:00
HttpFoundation merged 2.0 2011-12-08 15:36:57 +01:00
HttpKernel [Profiler] Sync with master 2011-12-09 11:51:29 +01:00
Locale [Locale] StubNumberFormatter allow to parse 64bit number in 64bit mode 2011-12-11 17:45:39 +01:00
Process merged 2.0 2011-12-13 16:12:53 +01:00
Routing removed unused use statements 2011-11-24 07:16:14 +01:00
Security [Security] added SecurityContextInterface::getUser() 2011-12-08 08:53:01 -08:00
Serializer merged 2.0 2011-12-11 18:50:50 +01:00
Templating [Templating] fixed 'scheme://' not detected as absolute path 2011-12-08 15:42:21 +01:00
Translation changed the default XLIFF extension to .xlf instead of .xliff (this is BC and .xliff files are still valid) 2011-12-07 22:39:27 +01:00
Validator merged 2.0 2011-12-08 15:36:57 +01:00
Yaml merged 2.0 2011-12-01 15:45:30 +01:00