issue #442
This commit is contained in:
parent
d4d46855c2
commit
c2cebad52b
@ -11,7 +11,7 @@ header('Content-Type: text/html; charset=' . LANG_CHARSET);
|
||||
|
||||
if (isset($serendipity['GET']['delete'], $serendipity['GET']['entry'], $serendipity['GET']['type']) && serendipity_checkFormToken()) {
|
||||
serendipity_deleteComment($serendipity['GET']['delete'], $serendipity['GET']['entry'], $serendipity['GET']['type']);
|
||||
if (serendipity_isResponseClean($_SERVER['HTTP_REFERER']) && preg_match('@^https?://' . preg_quote($_SERVER['HTTP_HOST'], '@') . '@imsU')) {
|
||||
if (serendipity_isResponseClean($_SERVER['HTTP_REFERER']) && preg_match('@^https?://' . preg_quote($_SERVER['HTTP_HOST'], '@') . '@imsU', $_SERVER['HTTP_REFERER'])) {
|
||||
header('Status: 302 Found');
|
||||
header('Location: '. $_SERVER['HTTP_REFERER']);
|
||||
exit;
|
||||
|
@ -1,3 +1,11 @@
|
||||
|
||||
Version 2.1-rc2 | final ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Fix missing token when updating plugin
|
||||
|
||||
* Fix missing variable name in regular expression match, Issue #442
|
||||
|
||||
Version 2.1-rc1 (January, 26th 2017)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user