﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10867	Inconsistent use of decodeURI in image dialog	Frode Danielsen	Artur Delura	"A previous ticket (#5256) concerned the use of decodeURI for the image ""src"" attribute in the image dialog. The ticket was resolved by removing the use of decodeURI here, to be consistent with how it is not used in the link dialog.

decodeURI is still used for the ""href"" attribute of the link for an image though. This can cause similar problems as in #5256. It also causes problems when trying to use a link that has been encoded in a different character set than the page of CKEditor (ie. ISO-8859-1 versus UTF-8). The character encoding of a link is related to the site the link refers to, and not necessarily the site it is linked from, and thus CKEditor can't make assumptions about it.

=== Steps to reproduce:

1. Open the image dialog for an image on a page with UTF-8 as charset
2. Paste the following ISO-8859-1 URI as the link address: http://google.com/?q=%C5rsrapport
3. Click ""OK""
4. Result: JavaScript URIError

Browser: Safari 6.0.5 OS: Mac OS X 10.8.4"	Bug	closed	Normal	CKEditor 4.4.2	General	3.0	fixed	IBM	irinauru@…
