Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » Default.aspx is stripped in href attributte value

Default.aspx is stripped in href attributte value

Lars Larsen
Lars Larsen
Reply

Hi

Having an a-tag with a href attributte value "/Default.aspx?id=[someId]" then the hole string in the attributte value is stripped! This happens in a paragraph Razor template. It makes no difference if the template is a ViewModel based template or not. The bug is present in DW9.2.8.


Replies

 
Nicolai Pedersen
Reply

Hi Lars

That does not sound good. Could you show dumps of the template + result?

Thanks, Nicolai

 
Lars Larsen
Lars Larsen
Reply

Hi Nicolai

Here is the paragraph template and a bit of the resulting page source. Have just found out that the problem only occurs if the link links to a non existing page. If the link links to a page that exists in DW then the href attributte value is not stripped. But then you miss a 404 page.

Capture.PNG
 
Nicolai Pedersen
Reply
This post has been marked as an answer

Ok, thanks for clarifying.

Will look into it! TFS#31715

Thanks, Nicolai

Votes for this answer: 1
 
Lars Larsen
Lars Larsen
Reply

Thanks

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Lars

The problem TFS#31715 "Links to pages that does not exist gets stripped" has now been fixed in version 9.2.9

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum