[Project_owners] php Issues

Eric H. Jung eric.jung at yahoo.com
Fri Oct 1 09:25:07 PDT 2010


David,

Can you open firebug or LiveHTTPHeaders and report:

1. The initial URL being requested (should be .php) with URL parameters
2. The 301 or 302 response header from mozdev.org with the redirected URL
and any parameters.

Thanks,
eric


On Fri, Oct 1, 2010 at 12:13 PM, David White <whitedavidp at yahoo.com> wrote:

> My ThunderBird addon, which invokes a php file on mozdev via a call to
> XmlHttpRequest still fails to work due to failure of request parameters to
> make it through the redirection. This doesn't happen if it invokes the
> .hph.html file directly versus the .php file. So it would appear that there
> may be an issue with XmlHttpRequest and redirection. A quick google
> indicates that various implementations of the function fare differently with
> redirects. I am not too sure what else I should try so that the .php file
> can be invoked directly - thereby causing no changes by my addon's users.
> Any tips? Thanks, David
>
> Eric H. Jung wrote:
>
>>
>>
>> On Thu, Sep 30, 2010 at 5:28 PM, Pete Collins <pete at mozdevgroup.com<mailto:
>> pete at mozdevgroup.com>> wrote:
>>
>>
>>    On 9/30/10 3:25 PM, Eric H. Jung wrote:
>>
>>        When doing the redirection in with mod_rewrite rules, can you
>>        please include the GET parameters on the new URL?
>>        http://www.google.com/search?q=mod_rewrite+REQUEST_URI
>>
>>
>>    They are ...
>>
>>    What are you talking about specifically?
>>
>>     eg:
>>
>>     http://jslib.mozdev.org/test.php?foo=bar
>>
>>    --pete
>>
>>
>>
>> Yesterday, a couple of project owners said that .php -> .php.html
>> redirects weren't maintaining URL parameters. Example:
>>
>> http://foo.mozdev.org/test.php?param1=pete&param2=collins <
>> http://foo.mozdev.org/test.php?param1=pete&param2=collins>
>>
>> redirected to:
>>
>> http://foo.mozdev.org/test.php.html
>>
>> i think I have part of this mixed up, but anyway, sorry for any confusion.
>> eric
>>
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> https://www.mozdev.org/mailman/listinfo/project_owners
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20101001/d3e96313/attachment.html>


More information about the Project_owners mailing list