Skip to content
Browse files

Fixed GetToken()

* Fixes downloads for 'EXTERNAL_LINKS' & 'CONTENT_KEYWORDS'
  • Loading branch information...
1 parent d73bffd commit 215cb56b8549391bf444d201846d8ae3dc5ce648 @eyecatchup committed Oct 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gwtdata.php
View
4 src/gwtdata.php
@@ -381,8 +381,8 @@ private function GetToken($uri, $delimiter)
{
$matches = array();
$tmp = self::GetData($uri);
- preg_match_all("#x26security_token(.*?)$delimiter#si", $tmp, $matches);
- return substr($matches[1][0],4,-1);
+ preg_match_all("#46security_token(.*?)$delimiter#si", $tmp, $matches);
+ return substr($matches[1][0],3,-1);
}
/**

0 comments on commit 215cb56

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