Why are the links changing automatically?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nilanka Perera

    Why are the links changing automatically?

    Code:
    Server.HtmlDecode(wp.Body.ToString());
    this.litBody.Text = body.ToString();
    I'm using the above code to display database content on my website. The actual text on database is as follows.

    <p>Forbur y Investment Network (FIN) is a platform established to facilitate investment in early- and growth-stage companies in the technology sectors.</p>
    <p>FIN was established by <a title="Cla rkslegal" href="http://www.clarkslegal.com/" target="_b lank">C larkslegal</a> and its subsidiary <a title="For bury Environmental&q uot; href="http://www.forburyenvironmental.com/" target="_b lank">F orbury Environmental&l t;/a>, after 3 years of managing The EIC Environmental Investment Network.</p>
    I have a test site and live site on the same server. Links work fine on test server. But when i look at the page on live server it the links are al wrong. www. is missin from both links and forburyenvironm ental.com has become forburyenvironm ental.co.uk. This is really wierd. Can any one help me..

    I'm using c# asp.net with sql server.
    Last edited by Curtis Rutland; Oct 19 '10, 04:12 PM. Reason: formatting
  • Nilanka Perera

    #2
    Finally found the solution to resolve this. It was the ISA firewall translating local URLs.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Thank you for posting the answer.

      Your problem was a mystery to me and I would never have guessed a firewall would have changed the response in any way.

      -Frinny

      Comment

      Working...