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

 
 

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

patch #5803: http auth type to be corrected

Submitter:  Olivier Berger <olberger>
Submitted:  Sat 17 Mar 2007 03:39:14 PM UTC
   
 
Category:  API - phpGWapi Priority:  3 - Low
Item Group:  0.9.16 (stable) Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Discussion

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>
Group 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>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code