Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from burritolord/patch-1

Fixed buildUrl to accept absolute urls using http
  • Loading branch information...
commit 3f30b3d78018bdbb77a4924ff25d638bc843e09b 2 parents 3412bf9 + 854c475
@jlipps authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Sauce/Sausage/WebDriverTestCase.php
View
2  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 {
Please sign in to comment.
Something went wrong with that request. Please try again.