Project

General

Profile

Actions

Defect #5129

closed

backslashes in issue description/note should be escaped when quoted

Added by Go MAEDA almost 15 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2010-03-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Assume that a issue has the following description.

quick\nbrown\nfox\\

When you click "quote" link, the expected text in textarea is the following:

> quick\nbrown\nfox\\

But you will see the following text because backslashes are not escaped.

> quick
brown
fox\

Files

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.4
  • Resolution set to Fixed

Fixed in r3616 using Rails' escape_javascript helper.

Actions #2

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from Resolved to Closed
Actions #3

Updated by Bryce Brim about 13 years ago

SPAM

Actions

Also available in: Atom PDF