Changeset 1464 for trunk/server/common/patches/httpd-suexec-scripts.patch
- Timestamp:
- Feb 12, 2010, 3:52:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/patches/httpd-suexec-scripts.patch
r1355 r1464 73 73 74 74 /* variable name is */ 75 @@ -245,9 +250,6 7@@75 @@ -245,9 +250,69 @@ 76 76 environ = cleanenv; 77 77 } … … 108 108 + "avi", 109 109 + "il", 110 + "JPG",111 110 + "xhtml", 112 111 + "svg", 113 112 + "xaml", 114 113 + "xap", 114 + "wav", 115 + "mid", 116 + "midi", 115 117 + NULL 116 118 +}; … … 122 124 + if (extension == NULL) return 0; 123 125 + for (p = static_extensions; *p; ++p) { 124 + if (strc mp(extension + 1, *p) == 0) return 1;126 + if (strcasecmp(extension + 1, *p) == 0) return 1; 125 127 + } 126 128 + return 0;
Note: See TracChangeset
for help on using the changeset viewer.