fixed check for site parameter, it should be an origin not a domain, and fixed...
fixed check for site parameter, it should be an origin not a domain, and fixed all tests accordingly. Was careful not to screw up the verifier tests that are testing for old parameters to the verifier.
Showing
- lib/sanitize.js 10 additions, 2 deletionslib/sanitize.js
- lib/validate.js 5 additions, 2 deletionslib/validate.js
- lib/wsapi/stage_email.js 1 addition, 1 deletionlib/wsapi/stage_email.js
- lib/wsapi/stage_user.js 1 addition, 1 deletionlib/wsapi/stage_user.js
- tests/add-email-with-assertion-test.js 1 addition, 1 deletiontests/add-email-with-assertion-test.js
- tests/cert-emails-test.js 1 addition, 1 deletiontests/cert-emails-test.js
- tests/email-throttling-test.js 4 additions, 4 deletionstests/email-throttling-test.js
- tests/forgotten-email-test.js 3 additions, 3 deletionstests/forgotten-email-test.js
- tests/list-emails-wsapi-test.js 1 addition, 1 deletiontests/list-emails-wsapi-test.js
- tests/no-cookie-test.js 1 addition, 1 deletiontests/no-cookie-test.js
- tests/password-bcrypt-update-test.js 1 addition, 1 deletiontests/password-bcrypt-update-test.js
- tests/password-length-test.js 1 addition, 1 deletiontests/password-length-test.js
- tests/password-update-test.js 1 addition, 1 deletiontests/password-update-test.js
- tests/primary-then-secondary-test.js 2 additions, 2 deletionstests/primary-then-secondary-test.js
- tests/registration-status-wsapi-test.js 2 additions, 2 deletionstests/registration-status-wsapi-test.js
- tests/stalled-mysql-test.js 3 additions, 3 deletionstests/stalled-mysql-test.js
- tests/verifier-test.js 1 addition, 1 deletiontests/verifier-test.js
Loading
Please register or sign in to comment