Implement request #2934868: Do not display full redirection URL, patch by fnorder@users.sourceforge.net

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@614 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2010-01-19 18:34:01 +00:00
parent cdc6eb9166
commit cc1d7d7a4d
2 changed files with 5 additions and 3 deletions

View file

@ -296,8 +296,8 @@ if($currenttag!= '') {
$rel = ' rel="nofollow"'; $rel = ' rel="nofollow"';
} }
$address = filter($row['bAddress']); $address = filter($row['bAddress']);
$oaddress = $address;
// Redirection option // Redirection option
if ($GLOBALS['useredir']) { if ($GLOBALS['useredir']) {
$address = $GLOBALS['url_redir'] . $address; $address = $GLOBALS['url_redir'] . $address;
@ -344,7 +344,7 @@ if($currenttag!= '') {
} }
echo '<div class="description">'. nl2br($bkDescription) ."</div>\n"; echo '<div class="description">'. nl2br($bkDescription) ."</div>\n";
//if(!isset($hash)) { //if(!isset($hash)) {
echo '<div class="address">'.shortenString($address).'</div>'; echo '<div class="address">' . shortenString($oaddress) . '</div>';
//} //}
echo '<div class="meta">'. $cats . $copy . $edit . $update ."</div>\n"; echo '<div class="meta">'. $cats . $copy . $edit . $update ."</div>\n";

View file

@ -11,6 +11,8 @@ ChangeLog for SemantiScuttle
instead of modification date instead of modification date
- Fix bug #2887063: Common tag combination description feels broken - Fix bug #2887063: Common tag combination description feels broken
- Fix several SQL injection possibilities - Fix several SQL injection possibilities
- Implement request #2934868: Do not display full redirection URL
Patch by fnorder@users.sourceforge.net
0.95.2 - 2010-01-16 0.95.2 - 2010-01-16