From: garvinhicking Date: Mon, 5 Jun 2006 17:26:16 +0000 (+0000) Subject: fixes by svolli X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=76425e70379be694a2b71b2bbe089e79915f436e;p=s9y.git fixes by svolli --- diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php index f352d8d..f23ac5c 100644 --- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php +++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php @@ -925,7 +925,7 @@ var $filter_defaults; $this->random_string($max_char, $min_char); echo '
'; for ($i = 1; $i <= $max_char; $i++) { - printf('CAPTCHA ' . $i . '', + printf('CAPTCHA ' . $i . '', $serendipity['baseURL'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'plugin/captcha_' . $i . '_' . md5(time()), htmlspecialchars(PLUGIN_EVENT_SPAMBLOCK_CAPTCHAS_USERDESC2) ); diff --git a/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php b/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php index f9bc64d..e55d80e 100644 --- a/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php +++ b/plugins/serendipity_event_trackexits/serendipity_event_trackexits.php @@ -21,7 +21,7 @@ class serendipity_event_trackexits extends serendipity_event $propbag->add('description', PLUGIN_EVENT_TRACKBACK_DESC); $propbag->add('stackable', false); $propbag->add('author', 'Serendipity Team'); - $propbag->add('version', '1.6'); + $propbag->add('version', '1.7'); $propbag->add('requirements', array( 'serendipity' => '0.8', 'smarty' => '2.6.7', @@ -200,8 +200,8 @@ class serendipity_event_trackexits extends serendipity_event '_id', $this->links[$url], ($entry_id != 0) ? '&entry_id=' . $entry_id : '', - (!$is_title ? $url : ''), - (!$is_over ? $url : ''), + (!$is_title ? htmlspecialchars($url) : ''), + (!$is_over ? htmlspecialchars($url) : ''), $buffer[6] ); } else { @@ -212,8 +212,8 @@ class serendipity_event_trackexits extends serendipity_event '', base64_encode($url), ($entry_id != 0) ? '&entry_id=' . $entry_id : '', - (!$is_title ? $url : ''), - (!$is_over ? $url : ''), + (!$is_title ? htmlspecialchars($url) : ''), + (!$is_over ? htmlspecialchars($url) : ''), $buffer[6] ); }