Permalink
Browse files

Merge pull request #6 from burritolord/patch-1

Fixed buildUrl to accept absolute urls using http
  • Loading branch information...
2 parents 3412bf9 + 854c475 commit 3f30b3d78018bdbb77a4924ff25d638bc843e09b @jlipps committed Feb 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Sauce/Sausage/WebDriverTestCase.php
@@ -162,7 +162,7 @@ public function spinWait($msg, $test, $args=array(), $timeout=10)
protected function buildUrl($url)
{
- if ($url !== NULL && $this->base_url !== NULL && !preg_match("/^http(s):/", $url)) {
+ if ($url !== NULL && $this->base_url !== NULL && !preg_match("/^https?:/", $url)) {
if (strlen($url) && $url[0] == '/') {
$sep = '';
} else {

0 comments on commit 3f30b3d

Please sign in to comment.