Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test https and directory slash redirects #79

Open
7 tasks
brendanheywood opened this issue Jun 30, 2020 · 1 comment
Open
7 tasks

Test https and directory slash redirects #79

brendanheywood opened this issue Jun 30, 2020 · 1 comment

Comments

@brendanheywood
Copy link
Contributor

brendanheywood commented Jun 30, 2020

All of this ONLY applies on https

Do some low level curls and assert:

  • /my on http redirects to /my on https, OR /my/ on https
  • /my/ on http redirects to /my/ on https OR to the /login on https, but NOT /login on http
  • /dontexist on http redirects to /dontexist on https
  • /pluginfile/xxxxx/.js should not redirect to end in a slash

If the site is not https (why???) then assert these instead:

  • /my -> /my/
  • /dontexist -> 404
  • /pluginfile/xxxxx/.js should not redirect to end in a slash
@brendanheywood
Copy link
Contributor Author

Mostly redundant when https://tracker.moodle.org/browse/MDL-69205 lands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants