MT update breaks validation

Today version 2.66 of Movable Type has been released, which addresses amongs others some of the comment spam issues.

I installed the update, and wrote a test comment to see how it works, but the entry did not show up anymore. Mozilla told me that there was a XML parsing error, and since I am serving my pages as application/xhtml+xml, Moz did not parse the page at all. I quickly changed my server settings so that my pages are served as text/html, and looked into the code.

The problem is that MT is now using a proxy script to link to the sites mentioned in comments, so spammers do not receive any 'Google Karma' by posting comments. The problem lies in the use of & in the URL, while they should have used &. For example, a link to this site appears as:

http://jeroensangers.com/cgi-bin/mt/mt-cmts.cgi?__mode=red&u=http%3A%2F%2Fjeroensangers.com%2F"

while they should have used:

http://jeroensangers.com/cgi-bin/mt/mt-cmts.cgi?__mode=red&u=http%3A%2F%2Fjeroensangers.com%2F"

I did a quick search in the new files, and found the error in the file lib/MT/Template/Context.pm at line 1189. Just add 4 characters, and MT produces valif HTML again.

[Update 2004.01.16]: Six Apart published MT version 2.661 to fix this problem.

Leave a comment

Play at an online casino - poker, bingo and other games with Virgin.

Monthly Archives

Recent Entries

  • Commenting not possible

    I just discovered that it currently is not possible to comment on this blog. At first sight it looks like the problem is caused...

  • Back from the CeBIT

    I am back from the CeBIT show. Actually, I came back on Monday, but have been too busy to post. This year has been...

  • Downloading viruses?

    I just saw the screen above, which is the ClamWin antivirus software uploading its virus database. On the left hand side they have an animation...

  • New: Google Notebook

    I know that Spain usually lags behind the rest of the world, but Google Spain really doesn't know what is going on. While all...

  • Google Analytics Event tracking

    One of the most interesting parts for web site owners are the access statistics, and Google Analytics offers one of the most complete statistics solutions,...

Close