[TYPO3-core] RFC: Bug #5548: cli_dispatch.phpsh will not run on CGI API

Martin Kutschker masi-no at spam-typo3.org
Tue Jan 20 20:00:55 CET 2009


Dmitry Dulepov schrieb:
> Hi!
> 
> Steffen Gebert wrote:
>> We could check REMOTE_ADDR - this will be empty while running from command line and I'm quite sure never when launched by a HTTP server.
>> Would this be acceptable?
> 
> Can you check that it is indeed empty and does not contain some fake value? If yes, than fine :)

How could you make a HTTP connect and force the webserver NOT to set
REMOTE_ADDR? You can spoof the address itself, but still it would be set.

Masi



More information about the TYPO3-team-core mailing list