aldefouw / redcap_cypress_docker

Start here to work with REDCap Cypress Test Framework on a developer machine. This is a Developer Toolkit to install a test environment to run REDCap Cypress against an instance of REDCap.
MIT License
3 stars 7 forks source link

Download fails with complex passwords #3

Closed JoshuaFortriede closed 2 months ago

JoshuaFortriede commented 2 months ago

Testing before REDCapCon 2024! I noticed that the REDCap download wasn't working with my complex password for community.

Fix: in download_redcap.sh, change the curl line (115) to use --data-urlencode for the password, and --data for all other query string variables.

curl -v -o ${zip_file} --data username=$username --data-urlencode password=$password --data version=$redcap_version --data install=1 -X POST ${url}

aldefouw commented 2 months ago

Thanks @JoshuaFortriede - good catch - I issued a fix commit for this: https://github.com/aldefouw/redcap_cypress_docker/commit/8f4050b79e93925ea89b20a8af55a4a575f544e4