I think that we still consider
http://MichaelPro.local/~mbishop/index.html as the redirection source,
hence failing to match.

        Fabrice

On 07/02/2013 10:34 AM, Michael Bishop wrote:
> Oops. That's a good catch.
> 
> I changed that and checked it in. I was really hoping that was the issue
> but the behavior is still the same. Darn!
> 
> I've filed a bug for this:
> 
>   https://bugzilla.mozilla.org/show_bug.cgi?id=889356
> 
> _ michael
> 
> 
> On Tuesday, July 2, 2013 at 13:27 PM, Fabrice Desre wrote:
> 
>> On 07/02/2013 08:18 AM, Michael Bishop wrote:
>>> This is very strange.
>>>
>>> I set up a local web server and made sure it correctly redirected to
>>> the page specified in the "redirects" manifest entry. Still no dice.
>>>
>>> So, hitting the "redirect" button will open up the address:
>>>
>>> http://MichaelPro.local/~mbishop/index.html
>>>
>>> curl returns this for that address…
>>>
>>> HTTP/1.1 302 Found
>>> Date: Tue, 02 Jul 2013 15:09:36 GMT
>>> Server: Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x
>>> Location:
>>> http://firefoxos.non-existent-domain-asdfg.com/authenticated.html
>>> Content-Type: text/html; charset=iso-8859-1
>>>
>>>
>>> So, I'm expecting the app to then attempt to open
>>>
>>> http://firefoxos.non-existent-domain-asdfg.com/authenticated.html
>>>
>>> Which is listed in the manifest as:
>>>
>>> "redirects": [
>>> {"from":
>>> "https://firefoxos.test-oauth.non-existent-domain-asdfg.com/authenticated.html";,
>>> "to": "/redirects/authenticated.html"}
>>> ]
>>>
>>>
>>> And then I'm expecting the app to redirect to:
>>>
>>> /redirects/authenticated.html
>>>
>>> Instead, I get that
>>>
>>> "about:// is not loading properly"
>>>
>>> A difference this time is that the header in the app shows (pardon my
>>> ascii graphic):
>>>
>>> [x] | http://michaelpro.local
>>>
>>> So that has changed.
>>>
>>> Is there a better way for me to test this or is something really wrong?
>>
>> Your redirect is declared for https://XXX but you load http://XXX. That
>> doesn't match.
>>
>> Fabrice
>> -- 
>> Fabrice Desré
>> b2g team
>> Mozilla Corporation
> 


-- 
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to