[Zope] failure in lib/python/ZPublisher/HTTPResponse.py

Markus Pietrek mpietrek@fsforth.de
Mon, 28 Jan 2002 11:26:44 +0100


Hi folks,

Perhaps this is already well known but I'm new to this list.

There seems to be a failure Zope 2.4.3 in 
lib/python/ZPublisher/HTTPResponse.py, Line 362

The code 
                       self.body=('%s\n<base href="%s" />\n%s' %
                                   (body[:index], self.base, body[index:]))

produces invalid HTML code (check it with http://validate.w3.org) as of the 
"/>". In my opinion it should be:
                       self.body=('%s\n<base href="%s">\n%s' %
                                   (body[:index], self.base, body[index:]))

Bye,
-- 

Markus Pietrek
FS FORTH-SYSTEME GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221