Skip to content

Commit

Permalink
Special characters support
Browse files Browse the repository at this point in the history
Fixed bug with URL reserved characters
  • Loading branch information
fajnyCreeper committed Mar 30, 2020
1 parent 8e43c04 commit c2c9dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SEContestChatCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
$duration = 15;
}

$name = str_replace("_", " ", trim($_GET["name"]));
$optionsRaw = preg_split('/ /', trim($_GET["options"]));
$name = str_replace("_", " ", trim(urldecode($_GET["name"])));
$optionsRaw = preg_split('/ /', trim(urldecode($_GET["options"])));
$options = array();
foreach($optionsRaw as $key => $value)
{
Expand Down

0 comments on commit c2c9dc0

Please sign in to comment.