From 1b114bfea825f37f72957cd454c64f950746b6ef Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 28 May 2019 19:48:41 +0100 Subject: [PATCH] url_escape handles null --- core/polyfills.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/polyfills.php b/core/polyfills.php index a1e135ef..95866525 100644 --- a/core/polyfills.php +++ b/core/polyfills.php @@ -425,7 +425,7 @@ function int_escape(?string $input): int /** * Make sure some data is safe to be used in URL context */ -function url_escape(string $input): string +function url_escape(?string $input): string { /* Shish: I have a feeling that these three lines are important, possibly for searching for tags with slashes in them like fate/stay_night