Last modified: 2011-07-13 17:34:03 UTC
Created attachment 8757 [details] Simple function for parsing no_proxy MediaWiki uses getenv('http_proxy') in HttpFunctions.php, but does not respect no_proxy environment variable. This is incorrect, because probably if MediaWiki sits behind proxy, then there is also some intranet area, accessible without proxy and probably INaccessible through proxy. :) I suggest using the attached function for this (we use it in Mediawiki4Intranet).
r91642 Closing this, but would you mind submitting some unit tests for your code fragment?
Was reverted in r91738 -- apparently this code has some sort of problems. Also -- please ask for tests BEFORE committing, Mark!