From 04e9db96e3d6e6988daf01a888bcd71cbfc4e859 Mon Sep 17 00:00:00 2001 From: Solomon Cammack Date: Wed, 18 Aug 2021 06:17:00 +0100 Subject: [PATCH] Small fix to make sure no errors are shown to the public --- website/public/index.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/website/public/index.php b/website/public/index.php index 4e412210..648614ca 100644 --- a/website/public/index.php +++ b/website/public/index.php @@ -1,10 +1,5 @@ outgoing_url; + try { + return $redirect->outgoing_url; + } catch (Exception $ee) { + return null; + } } } catch (Exception $e) { // echo "error: " . json_encode($e);