weixin_39605326 2020-11-30 14:22
浏览 0

Two headers are combined to one

Originally reported on Google Code with ID 5869


* a TEST CASE (no matter how trivial)
* detailed STEPS TO REPRODUCE the issue

Server sent the following HTTP headers fully conformant to RFC 5988:
Link: ; rel="alternate"; hreflang="ru"
Link: ; rel="alternate"; hreflang="en"

What is the expected result? 

To see what server sent.

What do you see instead?

In the "Net" panel, "Response Headers" I see instead:
Link    ; rel="alternate"; hreflang="ru", ; rel="alternate"; hreflang="en"

(Note that two Link: headers are combined into one using "," as separator which violates
RFC 5988 - only single link-value allowed in the Link: header)

Moreover, when I switch to "view source" of the "Response Headers", I see even worse
thing:

Link: ; rel="alternate"; hreflang="ru", ; rel="alternate"; hreflang="en"

(As you may notice, both link-values are eaten, probably because <> treated as HTML)

Please fix Link: headers display.

Firebug version (number): 1.10.2
Browser version: 14.0.1
Operating system: Win7 SP1 32bit

Reported by ache666 on 2012-08-25 17:59:29

该提问来源于开源项目:firebug/firebug

  • 写回答

15条回答 默认 最新

  • weixin_39605326 2020-11-30 14:22
    关注
    
    Can you please give the link to the page you observed that, so it can be reproduced?
    
    Sebastian
    

    Reported by sebastianzartner on 2012-08-25 23:10:18 - Status changed: Triaged - Labels added: Type-Defect, net, 1.10.2, Test-case-needed

    评论

报告相同问题?