Ignore:
Timestamp:
Feb 12, 2010, 3:52:35 AM (15 years ago)
Author:
mitchb
Message:
What's that?  I can't hear you over the static!

o Make Apache, suEXEC, and static-cat case-insensitive about extensions
o Add wav, mid, and midi as static extensions
o Add missing mime-type for svg files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/patches/httpd-suexec-scripts.patch

    r1355 r1464  
    7373 
    7474     /* variable name is */
    75 @@ -245,9 +250,67 @@
     75@@ -245,9 +250,69 @@
    7676     environ = cleanenv;
    7777 }
     
    108108+    "avi",
    109109+    "il",
    110 +    "JPG",
    111110+    "xhtml",
    112111+    "svg",
    113112+    "xaml",
    114113+    "xap",
     114+    "wav",
     115+    "mid",
     116+    "midi",
    115117+    NULL
    116118+};
     
    122124+    if (extension == NULL) return 0;
    123125+    for (p = static_extensions; *p; ++p) {
    124 +        if (strcmp(extension + 1, *p) == 0) return 1;
     126+        if (strcasecmp(extension + 1, *p) == 0) return 1;
    125127+    }
    126128+    return 0;
Note: See TracChangeset for help on using the changeset viewer.