Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JayNakrani committed Feb 1, 2014
1 parent 27143a7 commit 70a9529
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion libraries/Util.class.php
Expand Up @@ -467,7 +467,15 @@ public static function getMySQLDocuURL($link, $anchor = '')
$url .= '#' . $anchor;
}

return PMA_linkURL($url);

$url=PMA_linkURL($url);
//strip off unnecessary details like token and all. Here I'm keeping only url field, rest are discarded.
$arr=parse_url($url);
parse_str($arr["query"],$vars);
$query = http_build_query(array("url"=>$vars["url"]));
$url='./url.php?' . $query;

return $url;
}

/**
Expand Down

0 comments on commit 70a9529

Please sign in to comment.