Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8851 (closed defect: duplicate)

Opened 1 year ago

Last modified 6 months ago

[PATCH] IE/WebKit (un)escapeHTML memory leak, encoding order, & accuracy

Reported by: jamesots Assigned to: sam
Priority: high Milestone: 2.x
Component: Prototype Version: edge
Severity: major Keywords:
Cc:

Description

The cached elements used by escapeHTML cause IE6 to leak memory, even though IE doesn't use them. I've attached a patch which stops the elements being created when IE (or WebKit) is being used.

Attachments

Fix_IE_memory_leak.patch (1.5 kB) - added by jamesots on 07/03/07 10:09:15.
Fix_leak_and_unescapeHTML_order.patch (1.5 kB) - added by jdalton on 07/11/07 15:04:19.
Fixes the memory leak and the unescapeHTML order for IE and WebKit

Change History

07/03/07 10:09:15 changed by jamesots

  • attachment Fix_IE_memory_leak.patch added.

07/11/07 15:04:19 changed by jdalton

  • attachment Fix_leak_and_unescapeHTML_order.patch added.

Fixes the memory leak and the unescapeHTML order for IE and WebKit

07/11/07 15:05:29 changed by jdalton

  • summary changed from escapeHTML leaks memory in IE6 to [PATCH] escapeHTML leaks memory in IE6 and unescapeHTML order for IE and WebKit.

07/11/07 15:09:22 changed by jdalton

The patch added by me is in responce to Ticket #8951 Wrong String.unescapeHTML() redefinition for WebKit and IE.

03/20/08 15:34:14 changed by jdalton

also refernced #11333

03/24/08 23:39:38 changed by jdalton

  • summary changed from [PATCH] escapeHTML leaks memory in IE6 and unescapeHTML order for IE and WebKit to [PATCH] IE/WebKit (un)escapeHTML memory leak, encoding order, & accuracy.

04/07/08 16:45:02 changed by jdalton

  • status changed from new to closed.
  • resolution set to duplicate.

resolved by this ticket: #8452