no need to correct ~ in the path encoding

The ~ is not encoded by rawurlencode, so we don't need to decode it again.
Merge pull request #3474 branch 'hotfix/fix-exception-message'
Merge branch 'patch-1' of git://github.com/Tobion/zf2 into hotfix/3393
Merge branch 'hotfix/3393' into develop

Forward port #3393