all special characters should be percent encoded

python by default does not encode '/', we need to set the safe parameter of quote to disable that