mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
do not redirect with host and port (Closes #336)
This commit is contained in:
parent
fbd868660d
commit
6858b98558
|
@ -15,6 +15,8 @@
|
|||
and as long as no reviewer/approver has reviewed/approved the document
|
||||
- use only svg icons for mimetypes
|
||||
- add check for processes (reviews/approvals) where the user/group is deleted
|
||||
- redirect in op/op.Login.php to referuri will not add protocol and host,
|
||||
because this doesn't work if a reverse proxy is used (Closes #336)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 4.3.35
|
||||
|
|
|
@ -203,7 +203,8 @@ else if (isset($_GET["referuri"]) && strlen($_GET["referuri"])>0) {
|
|||
add_log_line();
|
||||
|
||||
if (isset($referuri) && strlen($referuri)>0) {
|
||||
header("Location: http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'] . $referuri);
|
||||
// header("Location: http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'] . $referuri);
|
||||
header("Location: " . $referuri);
|
||||
}
|
||||
else {
|
||||
header("Location: ".$settings->_httpRoot.(isset($settings->_siteDefaultPage) && strlen($settings->_siteDefaultPage)>0 ? $settings->_siteDefaultPage : "out/out.ViewFolder.php?folderid=".$settings->_rootFolderID));
|
||||
|
|
Loading…
Reference in New Issue
Block a user