MMBase

Wrong escape of ampersand

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.0
  • Fix Version/s: 1.6.4
  • Component/s: Core
  • Description:
    Hide
    original bugid: #6162
    In MMObjectBuilder, the html() function does strange escaping of ampersands. First the '<' and '>' characters are escaped, then the ampersand. This leads to escaping the ampersand that was just inserted, leaving the '<' and '>' as '&lt;' and '&gt;'
    Simple fix: just moved the ampersand-escaping to the top.
    Show
    original bugid: #6162 In MMObjectBuilder, the html() function does strange escaping of ampersands. First the '<' and '>' characters are escaped, then the ampersand. This leads to escaping the ampersand that was just inserted, leaving the '<' and '>' as '&lt;' and '&gt;' Simple fix: just moved the ampersand-escaping to the top.

Activity

Hide
Johannes Verelst added a comment - 2003-08-26 11:53
Wrong escape of ampersand
In MMObjectBuilder, the html() function does strange escaping of ampersands. First the '<' and '>' characters are escaped, then the ampersand. This leads to escaping the ampersand that was just inserted, leaving the '<' and '>' as '&amp;lt;' and '&amp;gt;'
Show
Johannes Verelst added a comment - 2003-08-26 11:53 Wrong escape of ampersand In MMObjectBuilder, the html() function does strange escaping of ampersands. First the '<' and '>' characters are escaped, then the ampersand. This leads to escaping the ampersand that was just inserted, leaving the '<' and '>' as '&amp;lt;' and '&amp;gt;'

People

Dates

  • Created:
    2003-08-26 11:58
    Updated:
    2006-11-24 12:52
    Resolved:
    2006-11-24 12:52