Opened 14 years ago

Last modified 14 years ago

#7864 confirmed Bug

Flash plugin url escapes some values

Reported by: Matti Järvinen Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.0
Keywords: Firefox Cc: Matti Järvinen

Description

Flash plugin url escapes some values.

Testing against http://nightly.ckeditor.com/6928/_samples/replacebyclass.html

To reproduce:

  1. Insert new flash element through dialog
  2. Set value to [url|ALL|9839]
  3. Close dialog
  4. View source to verify bug. embed tags src attribute gets url escaped

Expected (new lines added for readability):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data="[url|ALL|9839]">
<param name="quality" value="high" />
<param name="movie" value="[url|ALL|9839]" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[url|ALL|9839]" type="application/x-shockwave-flash"></embed>
</object>

Got (new lines added for readability):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data="[url|ALL|9839]">
<param name="quality" value="high" />
<param name="movie" value="[url|ALL|9839]" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[url%7CALL%7C9839]" type="application/x-shockwave-flash"></embed>
</object>

From what I could see this might be some difference in embedNode.setAttribute and CKEDITOR.dom.element.createFromHtml -> setAttributes

Change History (3)

comment:1 Changed 14 years ago by Jakub Ś

Status: newpending

Could you explain what do you mean by

Set value to [url|ALL|9839]

and replace those shortcuts with real values so that we could reproduce the problem you are facing?

comment:2 Changed 14 years ago by Matti Järvinen

Version: 3.6.1 (SVN - trunk)

@j.swiderski [url|ALL|9839] is the flash file url just imagine it as wiki like syntax.

Problem highlited

Expected:

quality="high" src="[url|ALL|9839]"

Got:

quality="high" src="[url%7CALL%7C9839]"

comment:3 Changed 14 years ago by Jakub Ś

Keywords: Firefox added
Status: pendingconfirmed
Version: 3.6.1 (SVN - trunk)3.0

It hasn't worked in Firefox browsers from CKEditor 3.0.

Other browsers seem to be fine.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy