From bb52a8e0ca1e585f3d5d28b4f48e8097e8119151 Mon Sep 17 00:00:00 2001 From: Robert O'Rourke Date: Wed, 12 Aug 2020 15:39:40 +0100 Subject: [PATCH] URL encode stack name Co-authored-by: Ryan McCue --- inc/namespace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/namespace.php b/inc/namespace.php index 3e80e298..ba2b67ab 100644 --- a/inc/namespace.php +++ b/inc/namespace.php @@ -359,7 +359,7 @@ function convert_internal_link( $url ) { } $stack_name = Altis\get_environment_name(); - $new_url .= '?applications[]=' . $stack_name; + $new_url .= '?applications[]=' . urlencode( $stack_name ); break; default: