www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Kohlbus <rkohl...@klaatu.umd.edu>
Subject mod_include/4044: Options IncludesNoExec causes problems with JavaScript
Date Thu, 11 Mar 1999 15:59:26 GMT

>Number:         4044
>Category:       mod_include
>Synopsis:       Options IncludesNoExec causes problems with JavaScript
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Mar 11 10:10:00 PST 1999
>Last-Modified:
>Originator:     rkohlbus@klaatu.umd.edu
>Organization:
apache
>Release:        1.3.3
>Environment:
OSF1 remus.umd.edu V4.0 878 alpha
>Description:
The use of the IncludesNoExec option in a <Directory> block, causes the following JavaScript
code, <SCRIPT>document.write(document.lastModified)</SCRIPT> to return 12/31/69
19:00:00.
If the IncludesNoExec option is removed then the JavaScript code returns the correct date

and time.
>How-To-Repeat:
Add the IncludesNoExec to a <Directory> block and add the following JavaScript code,
<SCRIPT>document.write(document.lastModified)</SCRIPT> to any page in that directory

and view the results.  Then remove the IncludesNoExec option, restart server and reload
the same page(you may need to clear your cache).
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message