getQuery function

Hello,

I’m not sure about the output of the getquery function on the following cases:
http://
http://?
what I understand from this
image
that in the first case the function returns Null and in the second it returns an empty string, is that correct or did I miss something?

It is the same as for user info: