Opened 7 years ago

Closed 7 years ago

#6805 closed Bug (worksforme)

Links get urlescaped on copy paste

Reported by: Matti Järvinen Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version:
Keywords: Cc: matti.jarvinen@…

Description

Links get urlescaped on copy paste

1. Enter following into CKEditor source view:

<p>
	This is some <strong>sample text</strong>. You are using <a href="[url|FILE|28]">CMS links</a>.</p>

2. Copy in WYSIWYG mode.

3. Paste into editor

Copied content transforms into following

<p>
	This is some <strong>sample text</strong>. You are using <a href="%5Burl%7CFILE%7C28%5D">CMS links</a>.</p>

Tested on nightly 6182

Change History (4)

comment:1 Changed 7 years ago by Matti Järvinen

Tested with FF 3.6.12

Chrome 8.0552.215, messes "relative" url too, but [] are left unescaped | gets escaped. Result:

<p>
	This is some&nbsp;<strong>sample text</strong>. You are using&nbsp;<a href="http://nightly.ckeditor.com/6196/_samples/[url%7CFILE%7C28]">CMS links</a>.</p>

IE8 works as expected. Result:

<p>
	This is some <strong>sample text</strong>. You are using <a href="[url|FILE|28]">CMS links</a>.</p>

IE8 compatibility mode Result: {{{<p>

This is some <strong>sample text</strong>. You are using <a href="http://nightly.ckeditor.com/6196/_samples/[url%7CFILE%7C28]">CMS links</a>.</p>}}}

comment:2 Changed 7 years ago by Sa'ar Zac Elias

Status: newconfirmed
Version: 3.5 (SVN - 3.5.x)

comment:3 Changed 7 years ago by Matti Järvinen

Component: GeneralCore : Pasting

comment:4 Changed 7 years ago by Matti Järvinen

Cc: matti.jarvinen@… added
Resolution: worksforme
Status: confirmedclosed

Now seems to work with svn revision 6767 on FF4, FF3.6.1.16, IE8, IE9 and Opera 11.10

Changes affecting this are unknown to me.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy