git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
902ddc4
)
REMOTE_ADDR permit: +192.168.90.12
author
short
<>
Wed, 26 Feb 2003 20:16:09 +0000
(20:16 +0000)
committer
short
<>
Wed, 26 Feb 2003 20:16:09 +0000
(20:16 +0000)
public_html/cgi-bin/postget.php
patch
|
blob
|
history
diff --git
a/public_html/cgi-bin/postget.php
b/public_html/cgi-bin/postget.php
index
244f682
..
cb76852
100644
(file)
--- a/
public_html/cgi-bin/postget.php
+++ b/
public_html/cgi-bin/postget.php
@@
-6,7
+6,7
@@
foreach ($HTTP_GET_VARS as $key=>$val) {
if (ereg("^_priv_(postget.*)\$",$val,$matched)) {
foreach ($HTTP_GET_VARS as $key=>$val) {
if (ereg("^_priv_(postget.*)\$",$val,$matched)) {
- $permit=array("127.0.0.1"=>1,"192.168.192.1"=>1,"192.168.90.11"=>1);
+ $permit=array("127.0.0.1"=>1,"192.168.192.1"=>1,"192.168.90.11"=>1
,"192.168.90.12"=>1
);
if (!$permit[$HTTP_SERVER_VARS["REMOTE_ADDR"]])
print("Forbidden:"
." REMOTE_ADDR=".htmlspecialchars($HTTP_SERVER_VARS["REMOTE_ADDR"])
if (!$permit[$HTTP_SERVER_VARS["REMOTE_ADDR"]])
print("Forbidden:"
." REMOTE_ADDR=".htmlspecialchars($HTTP_SERVER_VARS["REMOTE_ADDR"])