You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1998/05/16 19:16:13 UTC

os-windows/2238: The "Last Modified" link on an autoindex causes an "Application Error" (fwd)

I would suggest that this is a showstopper for Win32; at the very least,
making it not crash the server...

---------- Forwarded message ----------
Date: 16 May 1998 10:31:55 -0000
From: scribble@openface.ca
To: apbugs@hyperreal.org
Subject: os-windows/2238: The "Last Modified" link on an autoindex causes an "Application Error"


>Number:         2238
>Category:       os-windows
>Synopsis:       The "Last Modified" link on an autoindex causes an "Application Error"
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat May 16 03:40:00 PDT 1998
>Last-Modified:
>Originator:     scribble@openface.ca
>Organization:
apache
>Release:        CVS build apache_19980516010023.tar.gz
>Environment:
Windows NT 4, Using MSVC++ version 5.0
>Description:
I have a virtual host www.example.com, with a UNC DirectoryRoot
(//machine/share). If I click on the "Last Modified" link on a directory
listing, I get an Application Error. Here is part of the backtrace:
  _expandtime()
  _Strftime()
  strftime()
strftime() is receiving NULL as the fourth argument (the const struct tm *
argument). As I'm having problems with creating a workspace for Apache, I'm
not sure what calls strftime().
>How-To-Repeat:

>Fix:
I think the problem is with the way UNC paths are being handled. When I changed
the DirecotryRoot to C:\somedir, the "Last Modified" link worked fine. 
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Re: os-windows/2238: The "Last Modified" link on an autoindex causes an "Application Error" (fwd)

Posted by Dean Gaudet <dg...@arctic.org>.
Yeah I already fixed this in apache-nspr. 

Dean

On Sat, 16 May 1998, Ben Laurie wrote:

> Marc Slemko wrote:
> > 
> > I would suggest that this is a showstopper for Win32; at the very least,
> > making it not crash the server...
> 
> Who wrote that stuff? I mean, convert a date into a string so you can
> sort it? WTF? Worse yet, store strings in four different places just so
> you have to carefully pick them out when you do sort them. Anyway I
> don't have the energy to make it sensible, so I'll just fix the bug for
> now.
> 
> Cheers,
> 
> Ben.
> 
> -- 
> Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
> Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
> and Technical Director|Email: ben@algroup.co.uk |
> A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
> London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache
> 


Re: os-windows/2238: The "Last Modified" link on an autoindex causes an "Application Error" (fwd)

Posted by Ben Laurie <be...@algroup.co.uk>.
Marc Slemko wrote:
> 
> I would suggest that this is a showstopper for Win32; at the very least,
> making it not crash the server...

Who wrote that stuff? I mean, convert a date into a string so you can
sort it? WTF? Worse yet, store strings in four different places just so
you have to carefully pick them out when you do sort them. Anyway I
don't have the energy to make it sensible, so I'll just fix the bug for
now.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache