Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 1331
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: LDS [...] cpan.org
Requestors: alan [...] brandybuck.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: Use of -other fails in CGI::start_html
Download (untitled) / with headers
text/plain 644b
The use of '-other' as a argument flag and @other as a catch-all leads to a problem in lines 1337/1397 of CGI.pm. This code print start_html(-other => qq{something else in the body}, ),"\n"; Produces the (probably undesired) result <?xml version="1.0" encoding="iso-8859-1"?> ... </head><body other="something else in the body"> While the documentation suggests that the "other=" should not be there. Possible solutions: 1. Add OTHER to the rearrange line on 1337 and use a new catchall variable or change the variables used ($otherbody and @other for instance) 2. Change the documentation that all unspecified options will be passed t
From: alan [...] brandybuck.com
Download (untitled) / with headers
text/plain 941b
I'm sorry, but the web page took the report before I was done editing. More wisely attempting to edit first in alternate editor now... The use of '-other' as a argument flag and @other as a catch-all leads to a problem in lines 1337/1397 of CGI.pm. This code print start_html(-other => qq{something else in the body}, -unknown => qq{an unknown argument} ),"\n"; Produces the (probably undesired) result <?xml version="1.0" encoding="iso-8859-1"?> ... </head><body unknown="an unknown argument" other="something else in the body"> While the documentation suggests that the "other=" should not be there as with the "unknown=". Possible solutions: 1. Add OTHER to the rearrange line on 1337 and use a new catchall variable or change the variables used ($otherbody and @other for instance) 2. Change the documentation that all unspecified options will be passed to the body tag. This is probably less backward compatible.
From: alan [...] brandybuck.com
Download (untitled) / with headers
text/plain 131b
[guest - Thu Jul 25 08:15:08 2002]: Uh, never mind. I was looking at an out-of-date documentation page. Sorry for the commotion.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.