From 0bea70a044c6a70c150056f046462a8b7fdc7a59 Mon Sep 17 00:00:00 2001 From: Andrew Paglusch Date: Fri, 21 Oct 2022 23:14:00 -0500 Subject: [PATCH] dont escape slashes --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 2d9bc1f..db0c026 100644 --- a/index.php +++ b/index.php @@ -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');