QUEXS_URL Address Defenition

Bug #1703319 reported by Andre Santos on 2017-07-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
queXS
Undecided
Unassigned

Bug Description

In config file, for the URL configuration should be an alert to end the address with the back slash.

Workaround, test in the usercontrol.php or login_check_cas.php if there is a backslah in the QUEXS_URL and added if needed

example:
header('Location: ' . QUEXS_URL . $loc);

could be:

        if (substr(QUEXS_URL, -1) !== '/') {
            header('Location: ' . QUEXS_URL . "/" . $loc);
        } else {
            header('Location: ' . QUEXS_URL . $loc);
        }

Related branches

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers