url_escape handles null
This commit is contained in:
parent
f0aec21038
commit
1b114bfea8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue