Re: splinter broken by bugzilla-attachments 302 redirect

Gabriel Burt <[email protected]> Sun, 6 Dec 2009 22:49:18 -0800
Newsgroups gmane.comp.gnome.infrastructure,gmane.comp.gnome.bugsquad
Message-ID <[email protected]>
On Sun, Dec 6, 2009 at 9:08 AM, Owen Taylor <[email protected]> wrote:
> On Thu, 2009-12-03 at 16:17 -0800, Gabriel Burt wrote:
>> Splinter is broken
>> https://bugzilla.gnome.org/review?bug=407496&attachment=149058
>>
>> because it expects to get attachments from
>> https://bugzilla.gnome.org/attachment.cgi?id=149058
>>
>> but that gets 302 redirected to
>> http://bugzilla-attachments.gnome.org/attachment.cgi?id=149058
>>
>> and I guess the XHR can't handle that.
>
> It works for me and I haven't had any other reports of problems. Right
> now the way that it works is that it looks at the referrer of the
> request and if that matches /review, then it won't redirect.
>
> So my guess is that your browser is not setting the referrer for
> XmlHttpRequest as expected. What browser and version are you using?

Ah, good call.  I have a Firefox extension installed that removes the
referrer.  I'll tell it not to for bgo.  Thanks!

Gabriel