simple to solve I added this to aiki.php:

                        if ($_SERVER["HTTPS"] == "on") {
                                $url = str_replace("http://";, "https://";, $url);
                        }

now if user switched to https all urls get converted to https.

** Changed in: aikiframework
     Assignee: rg1024 (rg1024) => Bassel Safadi (bassel)

** Changed in: aikiframework
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/911987

Title:
  Urls not working with https

Status in Aiki Framework:
  Fix Released

Bug description:
  Right now [root] is replaced by url in the config which starts with
  http so when you have a site where all links use [root] and you want
  to use https all links will point to http

  the http should be remove from url field and it should be named like
  url_prefix it can't be named host because it can hold bart of URI.

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

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to