[Slashdotjp-dev 1496] [1027] fix URL escape

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 23日 (月) 13:56:02 JST


Revision: 1027
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1027
Author:   tach
Date:     2009-02-23 13:56:02 +0900 (Mon, 23 Feb 2009)

Log Message:
-----------
fix URL escape

Modified Paths:
--------------
    slashjp/trunk/plugins/Journal/Journal.pm


-------------- next part --------------
Modified: slashjp/trunk/plugins/Journal/Journal.pm
===================================================================
--- slashjp/trunk/plugins/Journal/Journal.pm	2009-02-20 11:27:47 UTC (rev 1026)
+++ slashjp/trunk/plugins/Journal/Journal.pm	2009-02-23 04:56:02 UTC (rev 1027)
@@ -818,8 +818,9 @@
 	my $ret = getCurrentStatic('rootdir');
 
 	$ret .= '/~';
-	$ret .= $self->getUser($journal->{uid}, 'nickname');
-	$ret .= '/journal/' . $journal->{id};
+	$ret .= fixparam($self->getUser($journal->{uid}, 'nickname'));
+	$ret .= '/journal/';
+	$ret .= $journal->{id} if ($journal->{id});
 	return $ret;
 }
 



Slashdotjp-dev メーリングリストの案内
Zurück zum Archiv-Index