Skip to content

Commit

Permalink
Closes #2414
Browse files Browse the repository at this point in the history
  • Loading branch information
Geert De Deckere committed Dec 7, 2009
1 parent 8c5ad1f commit 983f1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion classes/kohana/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ public function redirect($url, $code = 302)
if (strpos($url, '://') === FALSE)
{
// Make the URI into a URL
$url = URL::site($url);
$url = URL::site($url, TRUE);
}

// Set the response status
Expand Down
4 changes: 2 additions & 2 deletions classes/kohana/url.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public static function base($index = FALSE, $protocol = FALSE)
/**
* Fetches an absolute site URL based on a URI segment.
*
* @param string site URI to convert
* @param string non-default protocol
* @param string site URI to convert
* @param boolean|string non-default protocol
* @return string
*/
public static function site($uri = '', $protocol = FALSE)
Expand Down

0 comments on commit 983f1d2

Please sign in to comment.