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/src/Symfony/Component
Fabien Potencier 34e5613700 bug #20336 [HttpKernel] Base DataCollector throws warning on unsupported scheme strings (ogizanagi)
This PR was merged into the 3.2-dev branch.

Discussion
----------

[HttpKernel] Base DataCollector throws warning on unsupported scheme strings

| Q | A |
| --- | --- |
| Branch? | master |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | N/A |
| License | MIT |
| Doc PR | N/A |

The issue concerns any collector based on the abstract `Symfony\Component\HttpKernel\DataCollector\DataCollector` class using `cloneVar` on a string containing a unsupported scheme.

The easiest way to reproduce the issue is to add a simple query parameter like `?uri=foo://bar` on any url of your application:

> ContextErrorException in DataCollector.php line 134:
> Warning: file_exists(): Unable to find the wrapper "foo" - did you forget to enable it when you configured PHP?

This PR simply fixes the issue by muting the warning on `file_exists`. But maybe there is a better strategy.

Commits
-------

52faa00 Fix base DataCollector throws warning on unsupported scheme strings
2016-11-02 14:23:14 -07:00
..
Asset Merge branch '3.1' 2016-09-24 08:57:00 -07:00
BrowserKit Changed mentions of 'symfony2' to 'symfony' 2016-10-13 15:35:11 +02:00
Cache Merge branch '3.1' 2016-10-28 10:25:06 +02:00
ClassLoader Merge branch '3.1' 2016-10-28 10:25:06 +02:00
Config bug #20341 Fix YamlReferenceDumper unnamed nested prototypes (ogizanagi) 2016-10-28 07:46:54 -07:00
Console [Console] Fix empty COLUMNS/LINES env vars 2016-10-27 17:03:48 +02:00
CssSelector Merge branch '3.1' 2016-09-06 13:07:23 +02:00
Debug Added a default ide file link web view 2016-10-25 15:27:26 +02:00
DependencyInjection Revert "feature #17608 [DependencyInjection] Autowiring: add setter injection support (dunglas)" 2016-11-02 10:26:25 +01:00
DomCrawler Merge branch '3.1' 2016-10-18 18:01:03 +02:00
EventDispatcher Merge branch '3.1' 2016-10-13 08:29:04 +02:00
ExpressionLanguage [ExpressionLanguage] Making cache PSR6 compliant 2016-10-06 17:21:07 +02:00
Filesystem Merge branch '3.1' 2016-10-17 21:30:21 -07:00
Finder Merge branch '3.1' 2016-10-28 10:25:06 +02:00
Form Merge branch '3.1' 2016-10-28 10:25:06 +02:00
HttpFoundation Merge branch '3.1' 2016-10-24 08:52:51 -07:00
HttpKernel bug #20336 [HttpKernel] Base DataCollector throws warning on unsupported scheme strings (ogizanagi) 2016-11-02 14:23:14 -07:00
Inflector Merge branch '3.1' 2016-06-14 13:18:32 +02:00
Intl Merge branch '3.1' 2016-10-28 10:25:06 +02:00
Ldap Merge branch '3.1' 2016-09-24 08:57:00 -07:00
OptionsResolver Merge branch '2.7' into 2.8 2016-10-17 21:28:30 -07:00
Process Merge branch '3.1' 2016-10-01 07:21:27 -07:00
PropertyAccess Merge branch '3.1' 2016-08-16 18:09:30 +02:00
PropertyInfo Merge branch '3.1' 2016-10-13 08:29:04 +02:00
Routing [PhpUnitBridge] Drop ErrorAssert in favor of @expectedDeprecation 2016-10-21 22:33:10 +02:00
Security Merge branch '3.1' 2016-10-06 10:59:27 +02:00
Serializer [Serializer] Support specifying format for DateTimeNormalizer::denormalize 2016-10-17 16:06:12 +08:00
Stopwatch Merge branch '3.1' 2016-06-29 07:43:10 +02:00
Templating Merge branch '3.1' 2016-09-06 13:07:23 +02:00
Translation Merge branch '3.1' 2016-10-17 21:30:21 -07:00
Validator Merge branch '2.8' into 3.1 2016-10-19 15:38:53 -07:00
VarDumper Merge branch '3.1' 2016-10-28 10:25:06 +02:00
Workflow [Workflow] Make PropertyAccess required dependency 2016-09-04 20:47:17 +02:00
Yaml [Yaml] Fix String offset cast error in Inline parser 2016-10-28 09:35:03 +02:00