Ticket #6055: 6055.patch

File 6055.patch, 627 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/core/ckeditor_base.js

     
    169169                                        resource = this.basePath + resource;
    170170
    171171                                // Add the timestamp, except for directories.
    172                                 if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' )
     172                                if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !/[&?]t=/.test( resource ) )
    173173                                        resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp;
    174174
    175175                                return resource;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy