1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

remove support for Remote_User variable, which never worked at all.

PR: 25725


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
André Malo
2004-02-21 18:28:30 +00:00
parent 5c7e01f979
commit 9dc7d9ff58
6 changed files with 4 additions and 21 deletions

View File

@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
[Remove entries to the current 2.0 section below, when backported]
*) mod_setenvif: Remove "support" for Remote_User variable which
never worked at all. PR 25725. [Andr<64> Malo]
*) minor mod_auth_basic and mod_auth_digest sync. mod_auth_basic
now populates r->user with the (possibly unauthenticated) user,
and mod_auth_digest returns 500 when a provider returns

View File

@@ -162,9 +162,6 @@ respect to case</td></tr>
on which the request was received (only with versions later
than 2.0.43)</li>
<li><code>Remote_User</code> - the authenticated username (if
available)</li>
<li><code>Request_Method</code> - the name of the method
being used (<code>GET</code>, <code>POST</code>, <em>et
cetera</em>)</li>

View File

@@ -164,9 +164,6 @@
$B%j%/%(%9%H$r<u$1<h$C$?%5!<%P$N(B IP $B%"%I%l%9(B
(2.0.43 $B0J9_$N$_(B)</li>
<li><code>Remote_User</code> -
$BG'>Z$5$l$?%f!<%6L>(B ($B$b$7$"$l$P(B)</li>
<li><code>Request_Method</code> -
$B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<code>GET</code>, <code>POST</code>
<em>$B$J$I(B</em>)</li>
@@ -205,7 +202,7 @@
<li><code><em>varname</em>=<em>value</em></code></li>
</ol>
<p>$B$N$I$l$+$N7A<0$K$J$j$^$9!#(B</p>
<p>$B$N$I$l$+$N7A<0$K$J$j$^(B$B$9!#(B</p>
<p>$B:G=i$N7A<0$G$O!"CM$O(B "1" $B$K@_Dj$5$l$^$9!#(B
$BFs$DL\$O$b$7CM$,Dj5A$5$l$F$$$l$P$=$l$r<h$j=|$-$^$9!#(B

View File

@@ -156,9 +156,6 @@ respect to case</description>
on which the request was received (only with versions later
than 2.0.43)</li>
<li><code>Remote_User</code> - the authenticated username (if
available)</li>
<li><code>Request_Method</code> - the name of the method
being used (<code>GET</code>, <code>POST</code>, <em>et
cetera</em>)</li>

View File

@@ -157,9 +157,6 @@
$B%j%/%(%9%H$r<u$1<h$C$?%5!<%P$N(B IP $B%"%I%l%9(B
(2.0.43 $B0J9_$N$_(B)</li>
<li><code>Remote_User</code> -
$BG'>Z$5$l$?%f!<%6L>(B ($B$b$7$"$l$P(B)</li>
<li><code>Request_Method</code> -
$B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<code>GET</code>, <code>POST</code>
<em>$B$J$I(B</em>)</li>

View File

@@ -53,7 +53,6 @@
* (analogous to SERVER_ADDR set in ap_add_common_vars())
* remote_host Remote host name (if available)
* remote_addr Remote IP address
* remote_user Remote authenticated user (if any)
* request_method Request method (GET, POST, etc)
* request_uri Requested URI
*
@@ -99,7 +98,6 @@ enum special {
SPECIAL_NOT,
SPECIAL_REMOTE_ADDR,
SPECIAL_REMOTE_HOST,
SPECIAL_REMOTE_USER,
SPECIAL_REQUEST_URI,
SPECIAL_REQUEST_METHOD,
SPECIAL_REQUEST_PROTOCOL,
@@ -333,9 +331,6 @@ static const char *add_setenvif_core(cmd_parms *cmd, void *mconfig,
else if (!strcasecmp(fname, "remote_host")) {
new->special_type = SPECIAL_REMOTE_HOST;
}
else if (!strcasecmp(fname, "remote_user")) {
new->special_type = SPECIAL_REMOTE_USER;
}
else if (!strcasecmp(fname, "request_uri")) {
new->special_type = SPECIAL_REQUEST_URI;
}
@@ -492,9 +487,6 @@ static int match_headers(request_rec *r)
val = ap_get_remote_host(r->connection, r->per_dir_config,
REMOTE_NAME, NULL);
break;
case SPECIAL_REMOTE_USER:
val = r->user;
break;
case SPECIAL_REQUEST_URI:
val = r->uri;
break;