Skip to content

Commit

Permalink
Update CreateQueryHelper.php
Browse files Browse the repository at this point in the history
解决在linux环境下,将url当参数解析导致的错误
  • Loading branch information
HarryZheng0907 committed Nov 11, 2015
1 parent c9324fa commit b9247a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CreateQueryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private static function getQueryParams($ignore)
foreach ($pairs as $pair) {
if($pair == '')continue;
$nv = explode("=", $pair);
if(count($nv) != 2) continue;
$name = urldecode($nv[0]);
$value = urldecode($nv[1]);
if (!in_array($name, $ignore)) {
Expand Down Expand Up @@ -157,4 +158,4 @@ public static function conditionTransformFunctions(){
}
];
}
}
}

0 comments on commit b9247a2

Please sign in to comment.