Skip to content

Https redirected to port 80 after login #413

@mondolirondo

Description

@mondolirondo

System Info

  • PHP Version: 7.4.24
  • XBackBone Version: 3.5.1
  • Webserver: Apache
  • Database backend: SQLite

Describe the bug
After login, if certain conditions are met, you get redirected to port 80 even though you are connecting throught https.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://mysite.com where XBackBone is installed
  2. You get redirected to https://mysite.com/login
  3. Fill in credentials and press "Login"
  4. You get directed to https://mysite.com:80/home (https, but port 80)
  5. The browser refuses the connection with an error

Notice that if you enter https://mysite.com/login in the address bar (avoiding the first redirection), login works fine.

Expected behavior
The second time you should get directed to https://mysite.com/home

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions