Bug fix: urlencode -> rawurlencode .. ' ' should be '%20' not '+'