util_script.c

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

Changeset 420983 is being indexed.

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.
veto and revert win64 patch: 64bit changes must percolate from the

bottom (APR/system) up -- we can't give the client a 64bit API and

then cast it to 32bits internally without introducing security holes

on other platforms.

  1. … 12 more files in changeset.
WIN64: API changes to clean up Windows 64bit compile warnings

  1. … 12 more files in changeset.
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against

APR_SUCCESS.

  1. … 5 more files in changeset.
* server/util_script.c (ap_scan_script_header_err_core): Set

Content-Range in r->headers_out, so that the byterange filter knows to

do nothing for a CGI script which produced a content-range.

:set tabstop=8

:retab

(no code changes)

fix name of The Apache Software Foundation

  1. … 174 more files in changeset.
fix copyright dates according to the first check in

  1. … 16 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
stop using apr_sockaddr_port_get() accessor function, as it will

disappear from APR 1.0 API shortly

  1. … 5 more files in changeset.
switch to APR 1.0 API (which is still in flux)

because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,

2.1-dev won't build with apr and apr-util's 0.9 branch anymore

  1. … 42 more files in changeset.
Remember an authenticated user during internal redirects if the

redirection target is not access protected and pass it

to scripts using the REDIRECT_REMOTE_USER environment variable.

PR: 10678, 11602.

  1. … 2 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
*) SECURITY: [CAN-2002-0840] HTML-escape the address produced by

ap_server_signature() against this cross-site scripting

vulnerability exposed by the directive 'UseCanonicalName Off'.

Also HTML-escape the SERVER_NAME environment variable for CGI

and SSI requests. It's safe to escape as only the '<', '>',

and '&' characters are affected, which won't appear in a valid

hostname. Reported by Matthew Murphy <mattmurphy@kc.rr.com>.

[Brian Pane]

  1. … 2 more files in changeset.

Use apr_ flavors of ischar()

stop using APLOG_NOERRNO in calls to ap_log_?error()

  1. … 24 more files in changeset.
Added the APLOG_TOCLIENT flag to ap_log_rerror() to

explicitly tell the server that warning messages should be sent

to the client in addition to being recorded in the error log.

Prior to this change, ap_log_rerror() always sent warning

messages to the client. In one case, a faulty CGI script caused

the server to send a warning message to the client that contained

the full path to the CGI script. This could be considered a

minor security exposure.

  1. … 3 more files in changeset.
Handle CR/LF terminated lines from CGI scripts.

Reviewed by: Brian Pane

Fix for a bug that I introduced when eliminating the single-byte

reads in mod_cgi: eof wasn't treated as an error condition when

reading the script headers, so we were delivering a 200 when a

CGI script produced no output.

Changed mod_cgi to not do single-byte reads to consume the

script headers

  1. … 4 more files in changeset.
Commit 2 of 2 to:

1. rename ap_rset_content_type to ap_set_content_type

2. reverse the arguments to aligh with ap_set_content_length

  1. … 2 more files in changeset.
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType

filters during call to ap_rset_content_type()

  1. … 4 more files in changeset.
Update our copyright for this year.

  1. … 260 more files in changeset.