RE: [Phplib-users] auth url question
Brought to you by:
nhruby,
richardarcher
From: Rob H. <rob...@ws...> - 2002-10-30 14:23:35
|
It is partially fixed in session.inc, but not in session4.inc which I am using. In session.inc, the correct variables are being used to build the url, but the note about not using the function is still there and I am not sure that the url needs to be encoded multiple times to reach the goal. session4.inc is still using getenv('REQUEST_URI') to get the URL. This does not work under IIS. > -----Original Message----- > From: php...@li... > [mailto:php...@li...]On Behalf Of Giancarlo > Pinerolo > Sent: Wednesday, October 30, 2002 2:52 AM > To: rob...@ws... > Cc: Phplib-Users > Subject: Re: [Phplib-users] auth url question > > > > The crcloginform.html from the snapshot calls $auth->url() which calls > > $sess->self_url() to populate the for post action. > $sess->self_url() calls > > getenv('REQUEST_URI') which my understanding is does not work under some > > In the snapshot this ha been solved long ago. You are probably mixing > things then. > We have decided that url rewriting/preparation has to be done on > HTP_SERVER_VARS[Query_string], and self_url() has to use that. They > are 2 different varibles, and if we 'prepare' REQUEST_URI, then in > self_url we have to use that, or vv. > > Gian > > > > > > can the getenv('REQUEST_URI') in self_url() be changed to > $PHP_SELF . "?" . > > $HTTP_SERVER_VARS['QUERY_STRING']; ? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users > > |