This differs from the » RFC 3986 encoding (see rawurlencode()) in that for historical reasons, spaces are encoded as plus (+) signs.This differs from the » RFC 3986 encoding (see rawurlencode()) in that for historical reasons, spaces are encoded as plus (+) signs.
Remove ++ and set %20.
For more context, see: https://stackoverflow.com/a/1634293/13310679 , https://www.php.net/manual/en/function.rawurlencode.php and https://www.php.net/manual/en/function.urlencode.php