url contain double dots between page name and extention
<p>I am sending email through code which contains Page URL.
the code returns proper URL text and href value. but in the email I am getting double dots between login and aspx like (login..aspx),but as you can see it is hardcoded in the text. the issue is I am getting (login..aspx). PageName doesnot contain . in it. 
any help</p>

<p>code to generate url : </p>

<pre><code>RedUrl = "&lt;a href='" + domain + "/login.aspx?redurl=" + PageName + ".aspx&amp;id=" + 
         id.EncodeString()'&gt;" + domain + "/login.aspx?redurl=" + PageName + 
         ".aspx&amp;id=" + id.EncodeString() "&lt;/a&gt;";
</code></pre>
