Closed Bug 1507428 Opened Last year Closed Last year

Response header content-type has invalid value

Categories

(Testing :: geckodriver, defect, P1)

65 Branch
defect

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: github, Assigned: ato)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Steps to reproduce:

Create a session with arbitrary capabilities.


Actual results:

Received response with header:
"content-type": "application/json; charset=utf8"


Expected results:

Receive response with header:
"content-type": "application/json; charset=utf-8"
The line that needs to be changed is here:
https://searchfox.org/mozilla-central/rev/c0b26c40769a1e5607a1ae8be37fe64df64fc55e/testing/webdriver/src/server.rs#229
Assignee: nobody → ato
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Did you write a test for this in WPT?
Flags: needinfo?(github)
I made a PR for this: https://github.com/web-platform-tests/wpt/pull/14074 , you already reviewed it.
Flags: needinfo?(github)
The Content-Type header contains the correct MIME type, but the
charset option is "utf8" and invalid: it should be "utf-8".
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6010c470851
webdriver: fix incorrect Content-Type header; r=whimboo
https://hg.mozilla.org/mozilla-central/rev/b6010c470851
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.