Defect #1704

Many hyphen marks kills the Redmine

Added by Antti Perkiömäki over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:2008-07-29
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Wiki
Target version:0.8
Resolution:Fixed Affected version:

Description

We found out funky little error when you insert many hyphen marks into issue text box in certain format. This will crash the whole redmine process so that the server doesn't respond, database load increases quite a bit too. This was tested on revision 1666 and earlier releases.

The format is like: hyphen space hyphen space hyphen space hyphen ... etc.

For example this type of formating can be used in email signatures.

Associated revisions

Revision 1710
Added by Jean-Philippe Lang over 9 years ago

Fixed: RedCloth#block_markdown_rule freezes when parsing many hyphen marks (#1704).

History

#1 Updated by Jean-Philippe Lang over 9 years ago

Confirmed. I'm on it.

#2 Updated by Jean-Philippe Lang over 9 years ago

  • Category set to Wiki
  • Status changed from New to Resolved
  • Target version set to 0.8
  • Affected version (unused) set to devel
  • Resolution set to Fixed

r1710 should fix it. Please confirm.

#3 Updated by Antti Perkiömäki over 9 years ago

Tested with r1715 and no more crashing, thank you.

#4 Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Resolved to Closed

Thanks for the feedback

Also available in: Atom PDF