Behat/Mink — pull request #616 by jonesio (2014-10-28 22:03:19+00:00)
Title: Add empty check for path in WebAssert cleanUrl()

PHP parse_url does not always return a 'part' component which causes a PHP strict error as cleanUrl references the array key directly in the return value. This checks for a path and defaults to root ('/') if empty.