Log: use a space to separate links
Diff: decode URI component, otherwise the query may fail