[1.8.x] use getRawPath() to preserve %xx url encoded symbols