Changes between Initial Version and Version 1 of Ticket #10563, comment 1


Ignore:
Timestamp:
Jul 3, 2013, 7:07:31 PM (6 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10563, comment 1

    initial v1  
    1 Hi,
     1This is probably continuation of [http://dev.ckeditor.com/ticket/10165#comment:28 10165-comment:28]. To reproduce this problem I have:
     2* Set up domain sub.example.com.
     3* I have put CKEditor under this domain
     4* On sample page replacebycode.html I have set {{{document.domain='sub.example.com';}}} which is the same as current domain
     5* Next I have loaded page {{{http://sub.example.com/ckeditor/samples/replacebycode2.html}}}
     6Result: Access denied is thrown. Seems when domain set to the same value as actual domain is causing problems in IE7. I know editor sets document.domian for content area which is in iframe. Perhaps it doesn't do it when domain are the same and IE7 needs such setting.
    27
    3 Sorry for late reply. I didn't check this problem and I'm getting it in quite weird case (at least for me weird).
     8----
     9**NOTE:**[[BR]]
     10The above is the only case that doesn't work. In ticket #10165 this issue was fixed probably all other cases e.g.
     11* I have tried from example.com level calling page (in iframe) which is under sub.example.com and has {{{document.domain=example.com}}} set. Works.
     12* I have also tired calling this page, located under sub.example.com, directly i.e URL is http://sub.example.com/editor.html and page has {{{document.domain=example.com}}} set. Works as well.
    413
    5 Before i start making mess by adding comments - **@clusserman could you describe exactly what issue you are having?**. I would like to know how what domain (perhaps few domains) have you set for your application. What do you set in document.domain property and what have you got in browser URL bar?
    6 
    7 
     14Useful link: http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy