From: bernie Date: Sat, 29 Aug 2009 17:55:41 +0000 (+0200) Subject: Edit page MicrosoftTactics X-Git-Url: https://codewiz.org/gitweb?p=wiki.git;a=commitdiff_plain;h=0a79696d4989d18bf23532c9e6c5d1a4aaaddd19;ds=sidebyside Edit page MicrosoftTactics --- diff --git a/MicrosoftTactics b/MicrosoftTactics index b91980c..f801c6c 100644 --- a/MicrosoftTactics +++ b/MicrosoftTactics @@ -5,7 +5,7 @@ Why does Microsoft deserve special casing among all companies producing propriet This is a collection of a variety of strategies attempted by Microsoft against an extremely resilient competitor that couldn't be simply brought -or driven to bankruptcy. +or driven out of business in the conventional ways. steve_ballmer_bill_gates_i_wish_i_knew_how_to_quit_you.jpg @@ -86,7 +86,7 @@ steve_ballmer_bill_gates_i_wish_i_knew_how_to_quit_you.jpg * The [[http://www.catb.org/~esr/halloween/ | Halloween documents]] (1998-2004) - * Microsoft claims that [[http://news.zdnet.com/2100-3513_22-152099.html | OSS violates 235 (unspecified) patents]] + * Microsoft claims that [[http://news.zdnet.com/2100-3513_22-152099.html | OSS violates 235 (unspecified) patents]] (FUD) == Help wanted! == diff --git a/sys/info b/sys/info index abc4bbc..735e0ef 100644 --- a/sys/info +++ b/sys/info @@ -1 +1,5 @@ -|| HTTP_IF_MODIFIED_SINCE || <> || +|| REMOTE_USER || <> || +|| REMOTE_HOST || <> || +|| REMOTE_ADDR || <> || +|| QUERY_STRING || <> || +|| HTTP_IF_MODIFIED_SINCE || <> || diff --git a/sys/macros/CgiVar.py b/sys/macros/CgiVar.py index c2ba707..b29f5d4 100644 --- a/sys/macros/CgiVar.py +++ b/sys/macros/CgiVar.py @@ -1,6 +1,10 @@ #acl bernie:read,write All:read +#FIXME: couldn't we just return any env variable? +# Would there be any security issues? def _macro_CgiVar(*args, **kvargs): + if args[1].startswith('HTTP_'): + return os.environ.get(args[1], '') return { 'REMOTE_USER': remote_user(), 'REMOTE_HOST': get_hostname(remote_host()),