url_escape handles null

This commit is contained in:
Shish 2019-05-28 19:48:41 +01:00
parent f0aec21038
commit 1b114bfea8

View File

@ -425,7 +425,7 @@ function int_escape(?string $input): int
/** /**
* Make sure some data is safe to be used in URL context * 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 Shish: I have a feeling that these three lines are important, possibly for searching for tags with slashes in them like fate/stay_night