Replace replaceAll by normalizeUri