util_script.c

Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1053363 is being indexed.

Move duplicated code into utility functions

Submitted by: Malte S. Stretz <mss@apache.org>, Stefan Fritsch

When exporting request headers to HTTP_* environment variables, drop variables

whose names contain invalid characters. Describe in the docs how to restore the

old behaviour.

Submitted by: Malte S. Stretz <mss apache org>

  1. … 4 more files in changeset.
Because PATH and the library path are closely interrelated, and the cause

of most confusion over cgi or fcgid failures, or even starting rotatelogs,

etc, when the server binaries have been relocated, pass the library path

as paired with the system PATH.

Of course, PATH and platform-specific library path(s) may be modified as

needed with mod_env, so there is no loss of functionality with this change.

The days of monolithic binaries are long gone, even on 1970's architectures,

and PATH should not be decoupled from the library path.

  1. … 1 more file in changeset.
Enable SetEnv to set PATH

PR 43906

  1. … 1 more file in changeset.
Drop ap_body_to_table due to missing constraints; a DoS waiting

for an exploit.

Some mod_lua fan aught to revisit this and provide a sensible

implementation.

  1. … 4 more files in changeset.
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take

advantage of per-module loglevels

  1. … 169 more files in changeset.
Fix string constness to get rid of gcc compiler warnings by -Wwrite-strings.
  1. … 4 more files in changeset.
Elaborate on low hanging XXX fruit
  1. … 5 more files in changeset.
added comment about the never reached return statement.

Bring back OS/2 support.

Reverses r758929 with a little bit of conflict resolution.

  1. … 37 more files in changeset.
  1. … 1 more file in changeset.
HTTPD script support

When a script returns a no-body response code, pretend it was a HEAD

request so as to drop any body the script might erroneously generate.

  1. … 1 more file in changeset.
remove OS/2 platform support

  1. … 31 more files in changeset.
remove BeOS OS support

  1. … 13 more files in changeset.
document some nonsense it may be sizeof off_t > sizeof size_t.
CGI: return 504 (Gateway timeout) rather than 500 when a script

times out before returning status line/headers.

PR 42190

  1. … 1 more file in changeset.
Remove commented out block that wouldn't even work in this context.

Don't pass in a pool to to argstr_to_table, and duplicate r->args before sending it in.

Merge mod_wombat from the wombat branch:

<https://svn.apache.org/repos/asf/httpd/httpd/branches/wombat-integration>

Into trunk.

  1. … 42 more files in changeset.
Remove all references to CORE_PRIVATE.

  1. … 67 more files in changeset.
detabify

  1. … 3 more files in changeset.
* Also add a possible ETag header to r->headers_out. We need to have it there

for our later call to ap_meets_conditions a few lines above. Having it put

in the merge table will fail as merge and r->err_headers_out get merged

AFTER our call to ap_meets_conditions. Besides of this having multiple

ETag headers (or a merged version of them) does not seem to make sense.

Replace ap_get_server_version with ap_get_server_banner() and

ap_get_server_description().

High-level summary:

The full server version information is now included in the error log at

startup as well as server status reports, irrespective of the setting

of the ServerTokens directive.

Third-party modules must now use ap_get_server_banner() or

ap_get_server_description() in place of ap_get_server_version().

  1. … 27 more files in changeset.
update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
PR#38070: When a CGI script emits an explicit "Status:" header,

it takes charge, so we shouldn't use ap_meets_conditions.

No functional Change: Removing trailing whitespace. This also

means that "blank" lines consisting of just spaces or

tabs are now really blank lines

  1. … 180 more files in changeset.
PR: 10775

Submitted by: Christian Schubert <mail apexo de>

Reviewed by: niq

Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.