Fix bug 1039080 by uri decoding tags