#13699 closed Bug (invalid)
CKEditor crashes when user conected through SSL - Uncaught TypeError: c.addRules is not a function
Reported by: | Prasanta | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.3 |
Keywords: | Cc: |
Description
We have a intranet site where CKEditor is working as expected. The issue we saw yesterday that when a user a remote user tries to use the site through SSL (Remote user portal), CKEditor crashes with error message "Uncaught TypeError: c.addRules is not a function". Any idea?
Attachments (3)
Change History (15)
Changed 9 years ago by
Attachment: | errorpage.png added |
---|
comment:2 Changed 9 years ago by
Status: | new → pending |
---|
I've got no idea what could go wring here, because addRules() is a method on a filter and there's nothing related to SOP in this case. I can see you use a minified version, so all plugins are in a one file, so it does not really make sense.
I'm afraid you need to debug a bit yourself, because everything works fine here: https://cdn.ckeditor.com/4.5.3/standard/samples/. Please make sure that you uploaded CKEditor package correctly.
comment:3 Changed 9 years ago by
Did you come to any solution for this problem? We have the same error message when accessing the site through the "Junos Pulse Secure Access Service" (A remote user portal). Accessing the site directly works without problems.
comment:4 Changed 9 years ago by
We're still waiting for a TC that we could reproduce. So far everything worked for us perfectly. So if you can prepare some setup that fails, we'll be very grateful.
comment:6 Changed 9 years ago by
@avdhut, please read above comments. We are not able to reproduce this problem on our side. If you can provide test case steps to reproduce it we would be grateful.
comment:7 Changed 9 years ago by
The issue occurs when we are using SSL VPN to connect and gain access to application. Otherwise in local network it works fine.
comment:8 Changed 9 years ago by
Greetings, I have been fighting with this issue for a couple of days. I have overcome the problem by manipulating ckeditor.js a little. Easiest solution was to change the way CKEDITOR.htmlParser.filter is called (addRules function is called for this object). Junos vpn changes this occurences to DanaGetFilter(document.htmlParser) and so on, we need to call it in a way so that vpn won't recognize it. So I have simply changed CKEDITOR.htmlParser.filter to CKEDITOR["html"+"Parser"]+ "ter"? and some other occurences.
comment:9 Changed 9 years ago by
If your VPN connection fails to load a file which contains a word "htmlParser" or "filter" it means that your VPN connection is totally broken. You need to fix it. CKEditor has nothing to do with that.
comment:10 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
comment:11 Changed 9 years ago by
Well, I have just given a simple temporary solution for any other one facing with this specific issue, so that they could overcome the problem by just changing a simple js file and not touching any vpn sided configs or so. But you pathetically refuse the idea. You would better try to satisfy your customer (by providing any "valid" solution) rather than slandering my solution :p
comment:12 Changed 9 years ago by
I'm sorry, I thought you propose this as a patch (we really do get those). And that couldn't be accepted as a patch because there's nothing wrong with CKEditor. Just that.
As you can see the CKEditor is not visible on this one and error message.