SPAW2+Firefox+HTTPS Quick Fix
February 27th, 2007 by ailonIt came to our attention that when used under SSL with Firefox SPAW v.2 performed in some strange way: on the first load it worked ok, but on subsequent loads editing area stayed gray and inactive unless you switch to HTML mode and back.
We have traced this behavior to some kind of bug in Gecko which is beyond our understanding (which is sadly not the first time with Firefox) but we were able to cure it with a workaround. Since there are not enough changes for the next release yet, but this bug might be affecting many users working over HTTPS, we decided to release a quick fix for this issue. You can download it here. Just overwrite the files in this archive over your current files to apply it.
We would like to thank Ampco Metal SA for sponsoring priority upgrade for this issue.
February 28th, 2007 at 4:20 am
Thanks for being on top of this. Just a heads-up that I don’t think the issue is entirely resolved. I’ve applied the patch to our SPAW instance and although our data fields render w/o any problems on Safari (no wysiwyg of course), they come up blank in Firefox when the server is running HTTPS, HTTP is fine. We’re instantiating the wysiwyg as follows:
$sw = new SPAW_Wysiwyg(’generalnews_e’ /*name*/, $overallStatus /*value*/,
‘en’ /*language*/, ‘mini’ /*toolbar mode*/, ‘’ /*theme*/, ‘325px’ /*width*/, ‘50px’ /*height*/);
$sw->show();
Jeff
February 28th, 2007 at 10:28 am
Hmm.. that’s strange. Have you cleaned your cache, restared browser, etc. after applying the patch?
I think it would be better to move this discussion to the forum
http://forums.solmetra.com/viewtopic.php?t=2042&start=45
March 3rd, 2007 at 5:27 pm
I have this bug also in v.1, I don’t want to upgrade because it works good except the ssl bug and I have to change everthing again in oscommerce. Is there also a workaround for v.1?
regards
March 3rd, 2007 at 5:39 pm
I will send you my thoughts about this via email. Also there was a thread in the forum with someone posting a workaround.
March 3rd, 2007 at 6:00 pm
Nevermind, I just upgraded:D thnx anyway
March 24th, 2007 at 8:49 pm
Very strange bug - in Mozilla Firefox 2.0.0.3 SPAW send text but not send html tags: editor engine save back-slashes near quotation marks.
March 24th, 2007 at 9:52 pm
Use stripslashes() on the server. This is not related neither to firefox nor to this bug or anything at all. It’s your php setting
July 19th, 2008 at 7:36 am
Firefox 3.0 is now out and those bugs are now fixed.