Ticket #8276

イベント通知の更新時の戻り URL
Open Date: 2006-04-09 14:40 Last Update: 2006-04-09 14:40

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

XOOPS 2.0.13a JP も共通。

イベント通知登録における戻り URL が、定義された引数の組
み合わせによって一意に決まらない。送信元に戻る方が望ましい?

--- include/notification_update.php~ 2005-10-27
23:43:58.000000000 +0900
+++ include/notification_update.php 2006-04-09
10:05:45.445851000 +0900
@@ -117,7 +117,12 @@
}
}

-redirect_header ($_POST['not_redirect'].$argstring, 3,
_NOT_UPDATEOK);
+if (empty($_SERVER['HTTP_REFERER'])) {
+ $redirect = $_POST['not_redirect'].$argstring;
+} else {
+ $redirect = $_SERVER['HTTP_REFERER'];
+}
+redirect_header ($redirect, 3, _NOT_UPDATEOK);
exit();

?>

Ticket History (0/0 Histories)

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login