Opened 12 years ago

Closed 12 years ago

#1062 closed defect (wontfix)

mod_evasive + IE problem

Reported by: guest Owned by: gogo
Priority: high Milestone:
Component: Xinha Core Version:
Severity: critical Keywords:
Cc:

Description

When server has mod_evasive installed and Xihna is used in Internet Explorer, then user IP is blocked by server and user can't use editor. This is caused by buggy IE loading images in javascript (it loads images at each request). mod_evasive protect from loading one url more often than 2-5 times on 2 second interval (depends on config). After counter is more than 2-5, user ip is blocked.

Solution:
Slice images/ed_buttons_main.gif to be a one gif per button (and maybe other, but I found only this one).

Used version of editor:

Release: 0.931 (2007-05-16)
Head: http://svn.xinha.python-hosting.com/trunk/XinhaCore.js
Revision: 819
Last Changed By: ray

Change History (1)

comment:1 Changed 12 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

History lesson - we used to use one gif per button, but it's soooooooo sloooooow to load up that I changed it, years ago, to the current combined map of icons in a single file.

IE is stupid, but server setup is also to blame. Closing won't fix.

You can edit the btnList in the config anyway if you want to change to single images,
eg change from
inserthorizontalrule: [ "Horizontal Rule", ["ed_buttons_main.gif",6,0], false, function(e) { e.execCommand("inserthorizontalrule"); } ],
to
inserthorizontalrule: [ "Horizontal Rule", 'ed_hr.gif', false, function(e) { e.execCommand("inserthorizontalrule"); } ],
but you might have to create some if they are not all there.

Note: See TracTickets for help on using tickets.