patchphpGroupWare - Patches: patch #5803, http auth type to be corrected

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #5803: http auth type to be corrected

Submitted by:  Olivier Berger <olberger>
Submitted on:  Sat 17 Mar 2007 03:39:14 PM UTC  
 
Category: API - phpGWapiPriority: 3 - Low
Item Group: 0.9.16 (stable)Status: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat 17 Mar 2007 11:38:48 PM UTC, comment #1:

$GLOBALS['HTTP_SERVER_VARS']['PHP_AUTH_USER'] is deprecated, in favour of the super globals. Using $_SERVER['PHP_AUTH_USER'] is easier on the eye too. :)

Dave Hall <skwashd>
Project Administrator
Sat 17 Mar 2007 03:39:14 PM UTC, original submission:

I think http authentication is not ready yet, but there is still code which seems to relate to it... and I think I found some oldies which may be corrected easily in the "trivial" class.auth_http.inc.php :

if (isset($GLOBALS['PHP_AUTH_USER']))

should be replaced by :
if (isset($GLOBALS['HTTP_SERVER_VARS']['PHP_AUTH_USER']))

... OK, I know it's not useable in 0.9.16... but I'm tryng to test apache auth with phpgw, and if that was corrected, all I would need is diverting login.php with some new code.

What do you think ?

Olivier Berger <olberger>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by skwashd (Posted a comment)
  • -unavailable- added by olberger (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup