[Slashdotjp-dev 894] [411] wrap by encodeURIComponent() function

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 1月 11日 (金) 17:07:20 JST


Revision: 411
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=411
Author:   tach
Date:     2008-01-11 17:07:20 +0900 (Fri, 11 Jan 2008)

Log Message:
-----------
wrap by encodeURIComponent() function

Modified Paths:
--------------
    slashjp/trunk/themes/slashcode/htdocs/badge.js


-------------- next part --------------
Modified: slashjp/trunk/themes/slashcode/htdocs/badge.js
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/badge.js	2008-01-11 07:48:34 UTC (rev 410)
+++ slashjp/trunk/themes/slashcode/htdocs/badge.js	2008-01-11 08:07:20 UTC (rev 411)
@@ -2,7 +2,7 @@
   function() {
     var url = encodeURIComponent(window.[% sitename %]_url || window.location.href);
     var sty = window.[% sitename %]_badge_style || 'h0';
-    var title = window.[% sitename %]_title || document.title;
+    var title = encodeURIComponent(window.[% sitename %]_title || document.title);
     var dx=130, dy=25;
     if ( sty[0]=='v' ) {
       dx=52;


Slashdotjp-dev メーリングリストの案内
Back to archive index