Whitespace was being double encoded in case of spaceplus (' '->%2B)