﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11782	Change POST request sent to backend in codesnippetgeshi	Marek Lewandowski		"We should change the way of requesting backend for highlighted text. Currently it's send as a payload, and it's pretty much inconvenient to use at server side.

Much easier and readable solution would be placing json-encoded object in under regular POST field.

The source of issue are these lines in **ckeditor-dev/plugins/codesnippetgeshi/plugin.js**:

{{{
var requestConfig = JSON.stringify( {
	lang: language,
	html: code
} );
}}}

We should change it to:
{{{
var requestConfig = 'json=' + JSON.stringify( {
	lang: language,
	html: code
} );
}}}

And we should change {{{CKEDITOR.ajax.post}}} attribute from {{{'application/json'}}} to {{{null}}}"	New Feature	closed	Normal		General	4.4.0	wontfix		
