Skip to content

Commit

Permalink
dont escape slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPaglusch committed Oct 22, 2022
1 parent 654fa2e commit 0bea70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function display_secret_code($return_only_json = false) {
}

if ($return_only_json) {
return json_encode(array("url" => $message));
return json_encode(array("url" => $message), JSON_UNESCAPED_SLASHES);
}

require_once('html/view_code.php');
Expand Down

0 comments on commit 0bea70a

Please sign in to comment.