Bug 1655/bug 1905: fix for Internet Explorer receiving FOAF output when clicking user links.
Bug 1655/bug 1905: fix for Internet Explorer receiving FOAF output when clicking user links.

User links using the ID number (such as created for @-replies) have been failing on Internet Explorer, since IE doesn't bother to actually say it supports text/html...

We usually get something like this from IE, up through at least IE 8:
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

The */* ended up matching application/rdf+xml instead of text/html, so only other browsers which are more explicit would actually get sent on to the user profile/notice stream; IE visitors were directed on to the FOAF download. :(

Swapping the order of items in the server-side of the negotiation list fixes this; clients actually asking for FOAF at a higher priority than HTML will still get it, but the wildcard */* now matches text/html which is usually what we want.

Content negotiation for the user links  was added August 2008 in commit 48fcfb8b0daeb272cb9d116af617daf15930d909.

brion/StatusNet,charnimda/lgbtpzn-social,minmb/statusnet,zh/statusnet,sikevux/bsk-social,studio666/gnu-social,zcopley/StatusNet,faulteh/gnu-social,bankonme/gnu-social,furtherfield/gnu-social,chimo/social,chimo/social,xebia/statusnet-oauth2,faulteh/gnu-social,bankonme/gnu-social,foocorp/gnu-social,shashi/StatusNet,UngPirat/freesocial,csarven/statusnet,eXcomm/gnu-social,bankonme/gnu-social,furtherfield/gnu-social,xebia/statusnet-oauth2,studio666/gnu-social,d3vgru/StatusNet,csarven/statusnet,charlycoste/StatusNet,furtherfield/gnu-social,d3vgru/StatusNet,brion/StatusNet,gnusocial/mainline,sikevux/bsk-social,charlycoste/StatusNet,minmb/statusnet,foocorp/gnu-social,Piratas/tortuga,eXcomm/gnu-social,Piratas/tortuga,zh/statusnet,brion/StatusNet,gnusocial/mainline,charnimda/lgbtpzn-social,shashi/StatusNet,Piratas/tortuga,chimo/social,zcopley/zcopleys-statusnet-clone,gnusocial/mainline,foocorp/gnu-social,zcopley/zcopleys-statusnet-clone,furtherfield/gnu-social,charnimda/lgbtpzn-social,sikevux/bsk-social,charlycoste/StatusNet,UngPirat/freesocial,studio666/gnu-social,shashi/StatusNet,d3vgru/StatusNet,Piratas/tortuga,zcopley/StatusNet,zh/statusnet,bankonme/gnu-social,znarf/statusnet-ladistribution,zcopley/zcopleys-statusnet-clone,xebia/statusnet-oauth2,gnusocial/mainline,zcopley/StatusNet,minmb/statusnet,csarven/statusnet,znarf/statusnet-ladistribution,eXcomm/gnu-social,znarf/statusnet-ladistribution,eXcomm/gnu-social,faulteh/gnu-social,csarven/statusnet,sikevux/bsk-social,studio666/gnu-social,UngPirat/freesocial,faulteh/gnu-social