Search: add a function to normalize uris
Profile: view xml: changed query