Skip to content
Browse files

Fixed buildUrl to accept absolute urls using http

  • Loading branch information...
1 parent 3412bf9 commit 854c4758a1dde2b13dde428cac6ae845fd6f3b56 Nick James committed Feb 22, 2013
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 {

0 comments on commit 854c475

Please sign in to comment.
Something went wrong with that request. Please try again.