From 882f1d970bc259db6a3cd01ac4d791ea17448310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Mon, 20 Sep 2021 13:41:14 +0200 Subject: [PATCH] no raw --- app/public/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/public/index.php b/app/public/index.php index b753a11..707afcc 100644 --- a/app/public/index.php +++ b/app/public/index.php @@ -34,12 +34,12 @@ if ($action == 'reset') { die(); } elseif ($action == 'urlencode') { - $result = rawurlencode($str)?: $str; - $help = 'https://www.php.net/rawurlencode'; + $result = urlencode($str)?: $str; + $help = 'https://www.php.net/urlencode'; } elseif ($action == 'urldecode') { - $result = rawurldecode($str)?: $str; - $help = 'https://www.php.net/rawurldecode'; + $result = urldecode($str)?: $str; + $help = 'https://www.php.net/urldecode'; } elseif ($action == 'b64encode') { $result = base64_encode($str)?: $str;