Use the Bugzilla bug tracker with Safari

Jan 15, '03 09:56:44AM

Contributed by: melo

Safari does not support server-push, a Netscape hack using Content-type: multipart/x-mixed-replace. Bugzilla, a bug tracking system, uses it in the query interface to display a "Please Wait" message. You can test that it does not work at bugzilla.mozilla.org. If you need to make it work, as I did in my internal Bugzilla, it only takes a small modification in Bugzilla source code:

  1. Edit the buglist.cgi, and search for 'multipart/x-mixed-replace'

  2. A couple of lines above that, you'll see an if statement. After the exists $ENV{'HTTP_USER_AGENT'}, insert && $ENV{'HTTP_USER_AGENT'} !~ /Safari/ so that the line reads:
    exists $ENV{'HTTP_USER_AGENT'} && 
    $ENV{'HTTP_USER_AGENT'} !~ /Safari/
    [Shown on two lines; enter as one with a space before the $ENV...]

  3. Save and exit. If you are using mod_perl, restart your webserver.
I already reported this bug to the Safari development team and I hope they'll support this feature sometime in the future. I've also opened a bug with the Bugzilla folks.

Comments (2)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030115065644812