[Moin-devel] [ moin-Bugs-783291 ] test for local request does not work
SourceForge.net
noreply at sourceforge.net
Sun Jan 11 19:26:02 EST 2004
Bugs item #783291, was opened at 2003-08-05 06:47
Message generated for change (Comment added) made by thomaswaldmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=783291&group_id=8482
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Giuseppe Scelsi (gscelsi)
Assigned to: Nobody/Anonymous (nobody)
Summary: test for local request does not work
Initial Comment:
Moin 1.0, cgimain.py
The test for local request does not work. Changing
SERVER_NAME to SERVER_ADDR, as shown below, seems to
fix the problem.
# check if the request is a local one
import socket
local_request =
socket.getfqdn(os.environ.get('SERVER_ADDR')) == socket.getfqdn(os.environ.get('REMOTE_ADDR'))
----------------------------------------------------------------------
>Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2004-01-12 04:25
Message:
Logged In: YES
user_id=100649
should be fixed in 1.2 devel version, maybe in 1.1, too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=783291&group_id=8482
More information about the Moin-devel
mailing list