"EMail This Post" link not working

1 nhận xét
O11y, I did try the fix (and iisreset, but not a reboot). Still, it doesn't work for me.

Various computers. ie6, 7, 8 beta 2, FF 2 and 3, Safari 3.1

In addition this is a problem that exists on a blog that does not have spaces in the url.
For example: http://moss/sites/somesite/Blog/Lists/Posts/Post.aspx?ID=1145

Here is how the code for that function looks now:
function navigateMailToLink(strUrl)
{
var strEncoded="";
for (ix=0; ix < strUrl.length; ix++)
{
var curChar=strUrl.charAt(ix);
var strHexCode;
var strHexCodeL;
if (curChar=='%')
{
strHexCode=strUrl.charAt(ix+1);
strHexCode+=strUrl.charAt(ix+2);
strHexCodeL=strHexCode.toLowerCase();
if (strHexCodeL=="3a" || strHexCodeL=="2f" ||
strHexCodeL=="2e" || strHexCodeL=="2d" ||
strHexCodeL=="3d")
{
strEncoded+=curChar;
}
else
{
strEncoded+=curChar;
strEncoded+="25";
}
}
else
{
strEncoded+=curChar;
}
}
strEncoded = unescape(strEncoded);
window.location=strEncoded;
}

Here is a url that is called when clicking on "Email this post":
javascript:navigateMailToLink('http:\u002f\u002fmoss' + escapeProperlyCore(unescapeProperly('\u002fsites\u002fsomesite\u002fBlog\u002fLists\u002fPosts\u002fPost.aspx?ID=1145'), true))
source:social.technet.microsoft.com