Fix url encoding/decoding of resource node path segments.