This project is read-only.

Problem with articles on TheBeerHouse_MVC v2.0

Topics: Developer Forum, Project Management Forum, User Forum
Sep 13, 2009 at 9:18 AM

Why do I see html tag in articles?


<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut viverra nisl ac urna. ...

Tag <p> in result text - it's bad. And other tag will be display...

It's problem with Tiny MCE?

How do I fix this?  

Sep 14, 2009 at 7:58 PM

Html.Encode and Html.Decode. These should fix that issue. We will put this update in the next release.

Sep 14, 2009 at 11:29 PM

Yes, I noticed that the article abstracts are stored sans html tags but the body column includes them.  So, what about XSS fears and html encoding?  Will the Beerhouse no longer encode the article body in the ViewArticle view?  Is there an alternate way to encode, something smarter, that only encodes the dangersous stuff?  Maybe Html Agility Pack in the next release?



Sep 15, 2009 at 1:43 AM

When will the next release?...

Sep 17, 2009 at 11:15 PM
Edited Sep 17, 2009 at 11:16 PM

Or tell that to change to fix it!