MongoDB-Rox / phpMoAdmin-MongoDB-Admin-Tool-for-PHP

MongoDB administration tool for PHP built on a stripped-down version of the Vork high-performance framework

Home Page:http://www.phpMoAdmin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Https Bug

diegomsana opened this issue · comments

There's a small bug on line 402:

        $this->_linkPrefix = 'http://' . $_SERVER['HTTP_HOST'];

should be

        $this->_linkPrefix = 'https://' . $_SERVER['HTTP_HOST'];

Thank you for your feedback. This is correct and not a bug, this is the mechanism from Vork that when in SSL-mode automatically makes links that are not explicitly designated https to lead back into http-mode.