]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Implement request #2934868: Do not display full redirection URL, patch by fnorder...
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 19 Jan 2010 18:34:01 +0000 (18:34 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 19 Jan 2010 18:34:01 +0000 (18:34 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@614 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks.tpl.php
doc/ChangeLog

index b349ab7f369c45f024e9b6a2863f8f381dfcaae0..c6a87c2e35654a87ac2b4802dade97307b605125 100644 (file)
@@ -296,8 +296,8 @@ if($currenttag!= '') {
                        $rel = ' rel="nofollow"';
                }
 
-               $address = filter($row['bAddress']);
-
+               $address  = filter($row['bAddress']);
+               $oaddress = $address;
                // Redirection option
                if ($GLOBALS['useredir']) {
                        $address = $GLOBALS['url_redir'] . $address;
@@ -344,7 +344,7 @@ if($currenttag!= '') {
                }
                echo '<div class="description">'. nl2br($bkDescription) ."</div>\n";
                //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";
index d2336a6b3662bb0a71d930ad9315e985461ca4c6..e5022effa2feb2c6055c2ad1e8c96b078564f7a7 100644 (file)
@@ -11,6 +11,8 @@ ChangeLog for SemantiScuttle
     instead of modification date
 - Fix bug #2887063: Common tag combination description feels broken
 - 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