Project

General

Profile

Actions

Defect #32536

closed

Certain issue description leads to HTTP 504

Added by Vasili Korol over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
Resolution:
Affected version:

Description

I an experiencing a weird issue with Redmine not accepting some certain text in the issue description. The server returns HTTP 504 both when I attempt to create a new issue, or to change the description of an existing one.
The problematic text is the following (JS code):

fail( function () {                                                 
    $('#workspace').removeSpinner();                                    
} );                                                                    

To reproduce the problem, simply copy-paste the above block of code to the description field of an issue in Redmine. It doesn't matter if the issue description contains only this block, or also some other text. It doesn't matter if the code is enclosed in <pre>..</pre> or not.

Nothing is written to the log after the message of a successful rendering of the page "/redmine/projects/viking/issues/new".

The following setup is used:

Environment:
  Redmine version                3.4.11.stable
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
  Rails version                  4.2.11.1
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Git                            2.7.4
  Filesystem                     
Redmine plugins:
  advanced_roadmap               0.11.0
Actions #1

Updated by Vasili Korol over 4 years ago

The version of Redmine used on this website accepted the issue description...

Actions #2

Updated by Vasili Korol over 4 years ago

Further investigation reveals that the problem is actually with the following construction:

() {}

Using that as an issue description breaks Redmine.
Removing the space between () and {} does not produce the error!

The error only occurs when the issue is saved. Clicking "preview" works fine.

Actions #3

Updated by Go MAEDA over 4 years ago

Considering the fact that the HTTP status code was 504 (Gateway Timeout) and nothing was written in the log, I think the error occurred in the proxy server or some device between the Redmine server and your PC.

Actions #4

Updated by Vasili Korol over 4 years ago

  • Status changed from New to Resolved

You are right.
Something seems wrong with the reverse proxy.
Sorry for the fuss, please close the issue.

Actions #5

Updated by Go MAEDA over 4 years ago

  • Status changed from Resolved to Closed

Thank you for the feedback. Closing.

Actions

Also available in: Atom PDF