ASF Bugzilla – Attachment 8544 Details for
Bug 23748
"internal error: bad expires code" if expires criteria aren't met
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternate patch that uses NULL for expiresdefault
fix_expires_error2.patch (text/plain), 669 bytes, created by
Liam Quinn
on 2003-10-12 23:05:10 UTC
(
hide
)
Description:
Alternate patch that uses NULL for expiresdefault
Filename:
MIME Type:
Creator:
Liam Quinn
Created:
2003-10-12 23:05:10 UTC
Size:
669 bytes
patch
obsolete
>--- httpd-2.0.47/modules/metadata/mod_expires-old.c Sat May 31 17:54:08 2003 >+++ httpd-2.0.47/modules/metadata/mod_expires.c Sun Oct 12 18:47:49 2003 >@@ -227,7 +227,7 @@ > expires_dir_config *new = > (expires_dir_config *) apr_pcalloc(p, sizeof(expires_dir_config)); > new->active = ACTIVE_DONTCARE; >- new->expiresdefault = ""; >+ new->expiresdefault = NULL; > new->expiresbytype = apr_table_make(p, 4); > return (void *) new; > } >@@ -404,7 +404,7 @@ > new->active = add->active; > } > >- if (add->expiresdefault[0] != '\0') { >+ if (add->expiresdefault != NULL) { > new->expiresdefault = add->expiresdefault; > } > else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23748
:
8538
| 8544