[Chilli] MiniPortal - Error on submit
david at coova.com
Thu Jan 28 04:40:10 UTC 2010
Actually, the bug in that script is with the [ "$HTTPS" == "on" ]
which should be [ "$HTTPS" = "on" ] instead. The change you made also
means the URL is not checked against the uam secret and therefore the
URL may have been altered by the user.
Sent from my iPod
On Jan 27, 2010, at 4:09 PM, Felipe Augusto van de Wiel <felipe.wiel at hpp.org.br
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> On 25-01-2010 06:05, Christopher Markovic wrote:
>> I have been having an interesting issue with the
>> miniportal and coovachilli. On a submit it
>> immediately fails with a cannot find server or
>> dns error under ie. This is when attempting to
>> submit on the /www/login.chi. Hitting refresh
>> immediately brings back up the login page.
> Yes, we had the same problem on a IE 6, I
> installed Firefox and that solved the problem, I
> didn't had the chance to teste IE7 or IE8 on the
> same machine.
>> The curious part is after about 3 – 4 minutes of
>> leaving the website on the login.chi page and
>> then logging in, it will proceed correctly.
> I will try that the next time, there are 2
> other clients with the same behavior/scenario.
>> The debug logs show it always processing and
>> attempting to return the login.chi page without
>> The only thing I have spotted which seems to
>> correlate with the time out is the system does
>> some DHCP Arp replying and DNS checking.
>> Has anyone else had the same problem?
> I had, and as I mentioned above, we installed
> Firefox and recommended the person to use it. :-)
> BTW, the miniportal was a great addition to
> Coova, the redirect works greatly and it made much
> Related to that, also an error on submit, I
> found a small problem with the auth form on some
> smart phones, the final part of config-local.sh is
> an if:
> if [ "$FORM_uamip" != "" ]; then
> QS=$(echo $QUERY_STRING | sed 's/&md=[^&=]*$//')
> [ "$HTTPS" == "on" ] && HTTP="https"
> CHECK_MD5=$(echo -n "$CHECK" |md5sum|cut -d' ' -f1|tr 'a-z' 'A-Z');
> #echo "$URL" >> /tmp/debug
> #echo "$CHECK" >> /tmp/debug
> #echo "$CHECK_MD5" >> /tmp/debug
> #echo "$FORM_md" >> /tmp/debug
> if [ "$CHECK_MD5" = "$FORM_md" ]; then
> #http_redirect "/www/error.chi"
> I changed the final 'else', otherwise some phones
> after clicking to login receives a "an error occurred",
> the above changed fixed it, not sure if it is totally
> harmless, but hope this helps improving it.
> Kind regards,
> - --
> Felipe Augusto van de Wiel <felipe.wiel at hpp.org.br>
> Tecnologia da Informação (TI) - Complexo Pequeno Príncipe
> http://www.pequenoprincipe.org.br/ T: +55 41 3310 1747
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> Chilli mailing list
> Chilli at coova.org
More information about the Chilli