Fix for when q= attr is there but is not a url

Signed-off-by: Bao Haojun <haojun.bhj@alibaba-inc.com>