|
From: Dave C. <da...@da...> - 2002-02-10 16:49:15
|
On Fri, Feb 08, 2002 at 11:56:40PM +0530, Suresh Sundriyal (sur...@ya...) wrote:
> Hi,
> I was testing your textcounter script & I found a few
> bugs, don't know whether these bugs were platform
> specific or not. well, here goes anyway:-
Thanks for the mail. I've copied this reply to the nms developers' list
so someone will take a closer look at your suggestions.
> 1) On line 119 of textcounter script you have a
> "print header;" . Since a textcounter script will be
> called with SSI only the output of the script will be
> included in the HTML that calls the script. So apart from
> the count you will also get an etra line stating "Content-
> Type: text/html; charset=ISO-8859-1".
My understanding is that an SSI script _should_ return a Content-type
header. I assume you're using <!--#exec cgi="..."-->.
It may be that Xitami is giving non-standard behavior. We'll look into it.
> 2)I believe $ENV{DOCUMENT_URI} is not implemented by all
> the servers. I tried the script on Xitami & it didn't
> support it. I also checked out Savant's environment
> variables & it wasn't there as well. Is there any
> standard variable that could be used to get the filename?
This is another case where it's probably Xitami that's doing the wrong thing.
Again, we'll look into it.
> 3)This one isn't exactly a bug but causes DZsoft perl
> editor to act a bit crazy, here it goes anyway, on line
> 91 $sub is used, DZsoft assumes it to be the reserved
> word SUB & starts acting weird.
I suggest you pass that back to the developers at DZsoft as a bug in
their editor :)
> 4) This one is more of a question, is caller() function
> supported on windows98?
Yes it is.
> And sice you guys are trying to make secure scripts,
> shouldn't you guys disable Uploads by using
> "$CGI::DISABLE_UPLOADS = 1" or something?
That's certainly something we should think about.
Thanks for your comments.
Dave...
--
"Don't you boys know any _nice_ songs?"
|