Menu

#201 'handle_opts.py' and 'subscribe.py' don't use HeadlessDoc...

Postponed
closed-later
Web/CGI (248)
5
2000-11-01
2000-10-30
No

The handle_opt.py and subscribe.py CGI scripts use HTMLFormatter.Document() rather than HTMLFormatter.HeadlessDocument(), but use template files that define entire HTML files. This results in broken HTML code being displayed, even with the standard template files.

For instance, the standard subscribe page shows something like:

<HTML>
<HEAD>
</HEAD>
<BODY
<body>
<h1>List-Name Subscription results</h1>

(notice the broken BODY tag.)

Discussion

  • Thomas Wouters

    Thomas Wouters - 2000-10-30

    Submitted a patch to fix this: #102174

     
  • Barry Warsaw

    Barry Warsaw - 2000-11-01
    • assigned_to: nobody --> bwarsaw
    • milestone: 100100 --> Postponed
    • status: open --> closed-later
     
  • Barry Warsaw

    Barry Warsaw - 2000-11-01

    Yes, it's a bug, but I'm postponing fixing it until 2.1. Changing the code requires changes to the .html templates, but that complicates upgrading because those templates are all duplicated in the lists/<listname>/ directories. Most browsers seem to cope, so fixing it isn't critical for 2.0

     

Log in to post a comment.