diff --git a/includes/wc-user-functions.php b/includes/wc-user-functions.php index 43ce6b7505e..40b611ba200 100644 --- a/includes/wc-user-functions.php +++ b/includes/wc-user-functions.php @@ -446,7 +446,7 @@ function wc_get_customer_available_downloads( $customer_id ) { array( 'download_file' => $product_id, 'order' => $result->order_key, - 'email' => $result->user_email, + 'email' => urlencode( $result->user_email ), 'key' => $result->download_id ), home_url( '/' )