Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 402657

Summary: Invalid request content-type crashes git clone under Firefox ERS 17
Product: [ECD] Orion Reporter: Maciej Bendkowski <maciej.bendkowski>
Component: GitAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: malgorzata.tomczyk, simon_kaegi
Version: unspecified   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maciej Bendkowski CLA 2013-03-07 09:47:08 EST
While using Firefox ERS 17 it's impossible to send a valid XHR request for the git clone operation (and possibly not only for the clone operation). Sent request:

POST https://orionhub.org/gitapi/clone/
with Content-Type: ; charset=UTF-8 charset=UTF-8
(should be something like: Content-Type: charset=UTF-8; charset=UTF-8)

The invalid Content-Type crashes the operation and generates an java.io.UnsupportedEncodingException: UTF-8charset=UTF-8 on the server side.

A quick fix is to change Firefox to another version, e.g. 19.
Possibly it's a bug within this specific Firefox version, but I thought it's worth mentioning since this is the standard Firefox branch 'intended for groups who deploy and maintain the desktop environment in large organizations such as universities and other schools', e.g. it's the default Firefox available on my IBM  ThinkPad.
Comment 1 Malgorzata Janczarska CLA 2013-11-04 10:49:36 EST
This problem causes an error while committing "Missing commit message.".

I got information about it from different sources, but I could not reproduce it. Now when I updated my FF I can see that this problem is caused by this bug. I think it's important to address it, I'll try to look what we can do.

My version of FF is now 25.0