How about pull request?
—
Konstantin Kudryashov

On Wed, Apr 10, 2013 at 12:08 PM, Alexander Deruwe
<notifications@github.com> wrote:

>>      {
>>          $headers = $this->getSession()->getResponseHeaders();
>>  
>>          assertArrayHasKey('Location', $headers, 'The response contains a "Location" header');
>>  
>> -        if (null !== $location) {
>> -            // TODO: Change from path based comparison to URI based comparison
>> -            $redirectComponents = parse_url($headers['Location']);
>> -
>> -            assertEquals($redirectComponents['path'], $location, 'The "Location" header points to the correct URI');
>> +        if (null !== $page) {
>> +            assertEquals($headers['Location'][0], $this->locatePath($page), 'The "Location" header points to the correct URI');
>>          }
> This breaks for me - isn't `$headers['Location'][0]` just string indexing the Location header?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/Behat/CommonContexts/pull/31/files#r3730972