#2481: <html> tag is improperly processed in 2.5 SVN for MediaWiki
--------------------------------------------+-------------------------------
Reporter: pkoppstein | Owner:
Type: Bug | Status: new
Priority: High | Milestone:
Component: Project : MediaWiki+FCKeditor | Version: FCKeditor 2.5
Resolution: | Keywords: html tag mediawiki
--------------------------------------------+-------------------------------
Changes (by pkoppstein):
* priority: Normal => High
* version: => FCKeditor 2.5
Comment:
The example in the previous writeup doesn't indicate how serious the
problem is. Here is a better example, which shows that most of the text
within <html>...</html> is lost (for example, the entire
<script>...</script> segment is lost), and that the result does not
properly capture the javascript calls (i.e. the result is the wikilink
[[javascript:...]] rather than the more plausible hyperlink
[javascript:...]).
Here is the original:
<html>
<script>
function changeCalendarFrame(newsrc) {
parent.document.getElementById("CalendarFrame").src=newsrc;
}
</script>
<iframe id="CalendarFrame" width="100%" height=400
src="http://www.princeton.edu/~ina">
[Your user agent does not support frames or is currently configured not to
display frames.]
However, you may visit
<A
href=http://www.getty.edu/vow/ULANFullDisplay?find=&role=&nation=&subjectid={{{1}}}>the
related document.</A>]
</iframe>
<body>
<a href="javascript:changeCalendarFrame('http://www.google.com')">PRESS
HERE TO CHANGE THE FRAME TO google</a>
<p/>
<a
href="javascript:changeCalendarFrame('http://isaacnewton.princeton.edu/index.php?title=MG&printable=yes')">PRESS
HERE TO CHANGE THE FRAME TO MG</a>
<p/>
<a href="javascript:alert('Hello')">PRESS HERE TO ALERT</a>
</body>
</html>
AND here is the result using Version 2.5 SVN Build 20055:
[[javascript:changeCalendarFrame('http://www.google.com')|PRESS HERE TO
CHANGE THE FRAME TO google]]
[[javascript:changeCalendarFrame('http://isaacnewton.princeton.edu/index.php?title=MG&printable=yes')|PRESS
HERE TO CHANGE THE FRAME TO MG]]
[[javascript:alert('Hello')|PRESS HERE TO ALERT]]
--
Ticket URL: <http://dev.fckeditor.net/ticket/2481#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac