Fix redirect path encoding.
Merge remote-tracking branch 'origin/master'