Opened 17 years ago

Closed 17 years ago

Last modified 13 years ago

#209 closed Bug (fixed)

Netscape 7.1: URL portions in links are replaced with $5

Reported by: Brian Klug Owned by:
Priority: Normal Milestone: FCKeditor 2.4.1
Component: General Version: FCKeditor 2.4
Keywords: Netscape Confirmed Cc:


  1. Download Netscape 7.1 @
  1. Load editor at or
  1. Switch to source mode

The HTML has been corrupted:

<a href="$5">FCKeditor</a>

If you switch back to normal mode, and back again, it will keep adding $5$5. Sometimes, it will add $4 to the beginning of the URL and similar bugs.

Change History (2)

comment:1 Changed 17 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed added
Version: FCKeditor 2.4

The problem is in the ProtectUrl:

	ProtectUrls : function( html )
		// <A> href
		html = html.replace( FCKRegexLib.ProtectUrlsA	, '$1$4$2$3$5$2 _fcksavedurl=$2$3$5$2' ) ;

		// <IMG> src
		html = html.replace( FCKRegexLib.ProtectUrlsImg	, '$1$4$2$3$5$2 _fcksavedurl=$2$3$5$2' ) ;

		return html ;

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.1
Priority: HighNormal
Resolution: fixed
Status: newclosed

Fixed with [210]. The Netscape 7.1 regex engine is a little bit buggy, so I have reviewed the regex (and as a plus, simplified and optimized it).

By the way, the technology (Gecko) in Netscape 7.1 is quite old and buggy. I'm not sure will compatible with that old browsers with FCKeditor 3.0.

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