Bad form to answer ones own posts.....
I found the answer in the (patched) mini_httpd source. Everything after the
domain name gets shoved into a variable and replace with index.php
This means that the contents of the $_GET array are effectively junk.
However, as the stuff gets shoved into an environment variable I can drag it
out of there.
Peter
On Wednesday 09 June 2004 16:41, Peter Curran wrote:
> I am in the process of re-writing (!) some parts of the captive portal
> implementation in 1.1b12 to support an in-house authentication protocol.
>
> I am having a bit of a problem that is related to parsing the response from
> the authentication server. The details of the authentication system are
> not important (or relevant). Having authenticated via the external
> service, the user is redirected back to the portal with some embedded
> values in a GET request.
>
> I do not seem to be receiving these in $_GET as I would expect. In the
> code I note that Manuel pases the original GET request that triggered the
> portal in the first place via an environment variable from mini_httpd. I
> guess from this that there may be some issue in using GET; I also note that
> the existing portal uses a POST to get stuff in.
>
> Is there a limitation here that I should know about?
>
> Any help appreciated.
>
> Rgds
>
> Peter
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. |