From exemple http://rob:abcd1234@www.example.com/path/index.html?query1=test&silly=willy#test=hash&chucky=cheese, I expected $url('#poo') == null rather than an empty string.
Otherwise, there is no mechanisme to distinguish http://exemple.com#foo and http://exemple.com
From exemple
http://rob:abcd1234@www.example.com/path/index.html?query1=test&silly=willy#test=hash&chucky=cheese
, I expected$url('#poo') == null
rather than an empty string.Otherwise, there is no mechanisme to distinguish
http://exemple.com#foo
andhttp://exemple.com