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

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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-461b.
    Corresponding source code