← Back to team overview

mahara-contributors team mailing list archive

[Bug 1717861] Re: Redirect to incorrect port when sslproxy is on and wwwroot is set

 

** Changed in: mahara
    Milestone: None => 18.04.0

** Also affects: mahara/17.10
   Importance: Medium
     Assignee: Dmitrii Metelkin (dmitriim)
       Status: In Progress

** Also affects: mahara/18.04
   Importance: Undecided
       Status: New

** Changed in: mahara/17.10
    Milestone: 18.04.0 => 17.10rc2

** Changed in: mahara/18.04
    Milestone: None => 18.04.0

** Changed in: mahara/17.10
    Milestone: 17.10rc2 => 17.10.0

** Changed in: mahara/18.04
   Importance: Undecided => Medium

** Changed in: mahara/18.04
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1717861

Title:
  Redirect to incorrect port when sslproxy is on and wwwroot is set

Status in Mahara:
  In Progress
Status in Mahara 17.10 series:
  In Progress
Status in Mahara 18.04 series:
  In Progress

Bug description:
  When you have your mahara behind SSL proxy and have sslproxy enabled,
  it redirects to incorrect port when you try to access pages which
  require login.

  When you get your mahara behind load balancer and nginx proxy on port
  81 you get redirected to https://mahara.com:81/user/admin?login when
  try to access https://mahara.com/user/admin as not logged in user.

  Looks like function get_full_script_path tries to get a port even if
  $CFG->wwwroot is set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1717861/+subscriptions


References