diff --git a/CHANGES.md b/CHANGES.md index 98b76d672f1..0046b19832f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -20,6 +20,7 @@ Fixed Issues: * [#12281](http://dev.ckeditor.com/ticket/12281): Fixed: Minor syntax issue in CSS files. * [#12178](http://dev.ckeditor.com/ticket/12178): [Blink/Webkit] Fixed: Iterator does not return block if selection is located at the end of it. * [#12185](http://dev.ckeditor.com/ticket/12185): [IE9QM] Fixed: Error thrown when moving mouse over focused editor's scrollbar. +* [#12215](http://dev.ckeditor.com/ticket/12215): Fixed: Basepath resolution doesn't recognize semicolon as a query separator. Other Changes: diff --git a/ckeditor.js b/ckeditor.js index abb087d1565..76eb14f169b 100644 --- a/ckeditor.js +++ b/ckeditor.js @@ -5,7 +5,10 @@ // Compressed version of core/ckeditor_base.js. See original for instructions. /*jsl:ignore*/ -window.CKEDITOR||(window.CKEDITOR=function(){var b={timestamp:"",version:"%VERSION%",revision:"%REV%",rnd:Math.floor(900*Math.random())+100,_:{pending:[]},status:"unloaded",basePath:function(){var a=window.CKEDITOR_BASEPATH||"";if(!a)for(var b=document.getElementsByTagName("script"),c=0;c tag. var path = window.CKEDITOR_BASEPATH || ''; @@ -121,7 +119,7 @@ if ( !window.CKEDITOR ) { var scripts = document.getElementsByTagName( 'script' ); for ( var i = 0; i < scripts.length; i++ ) { - var match = scripts[ i ].src.match( /(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i ); + var match = scripts[ i ].src.match( basePathSrcPattern ); if ( match ) { path = match[ 1 ]; @@ -312,4 +310,4 @@ if ( !window.CKEDITOR ) { * for details. */ -// PACKAGER_RENAME( CKEDITOR ) +// PACKAGER_RENAME( CKEDITOR ) \ No newline at end of file diff --git a/core/loader.js b/core/loader.js index 12207876833..b17e8962d61 100644 --- a/core/loader.js +++ b/core/loader.js @@ -76,39 +76,6 @@ if ( !CKEDITOR.loader ) { 'creators/inline': [] }; - var basePath = ( function() { - // This is a copy of CKEDITOR.basePath, but requires the script having - // "_source/loader.js". - if ( CKEDITOR && CKEDITOR.basePath ) - return CKEDITOR.basePath; - - // Find out the editor directory path, based on its