Skip to content

Commit

Permalink
#6 single quote in page name
Browse files Browse the repository at this point in the history
  • Loading branch information
bmbrands committed Mar 21, 2017
1 parent c4761e8 commit bab4a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/api/analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract class analytics {
*/
private static function might_encode($input, $encode) {
if (!$encode) {
return $input;
return str_replace("'", "\'", $input);
}

return urlencode($input);
Expand Down

0 comments on commit bab4a66

Please sign in to comment.