symfony/symfony — pull request #6588 by igorw (2013-01-06 19:37:46+00:00)
Title: [2.0][DomCrawler] Resolve relative URIs from Links

Bug fix: kind of
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

This is useful when using DomCrawler and HttpKernel\Client with an
HttpKernel that does not support relative requests to URIs.

Please check extensively and suggest additional test cases to ensure nothing is broken. Suggestions to simplify the algorithm are welcome.

If desired I can re-file against 2.1 or 2.2. But IMO this is a bugfix and as such belongs in 2.0.