Fix for test - URL encoding not done via sprintf any more.