Project

General

Profile

Actions

Defect #20423

closed

error 500 with utf8 hyperlinks

Added by Ma Py almost 9 years ago. Updated almost 9 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hey guys,

A few weeks ago I installed redmine on Ubuntu 14.04. Currently we have problems with CSV export and filtering of tickets. We get in the browser the error message 500. However, if I remove it from the link utf8 it works fine

https://redmine.domain.com/projects/project1/issues.csv?utf8=%E2%9C%93&columns= -> isn't working
https://redmine.domain.com/projects/project1/issues.csv?columns= -> works

Environment:
  Redmine version                3.0.3.stable
  Ruby version                   2.2.1-p85 (2015-02-26) [x86_64-linux]
  Rails version                  4.2.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Filesystem                     
Redmine plugins:
  no plugin installed
MariaDB [(none)]> show global variables like 'char%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | utf8                       |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | utf8                       |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
Actions #1

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Needs feedback

Check your redmine log and web server log.

Actions #2

Updated by Toshi MARUYAMA almost 9 years ago

  • Category deleted (I18n)
Actions #3

Updated by Ma Py almost 9 years ago

Nothing appears in our Logs with this link: https://redmine.server.com/projects/project1/issues.csv?utf8=%E2%9C%93&columns=

https://redmine.server.com/projects/project1/issues.csv?columns=

redmine.log:

Started GET "/projects/project1/issues.csv?columns=" for 172.16.0.20 at 2015-07-30 12:01:25 +0200
Processing by IssuesController#index as CSV
  Parameters: {"columns"=>"", "project_id"=>"project1"}
  Current user: mpy (id=3)
  Rendered text template (0.0ms)
Sent data issues.csv (0.5ms)
Completed 200 OK in 28ms (Views: 0.4ms | ActiveRecord: 3.5ms)

apache2 log

dev-redmine.domain.lan:80 172.16.0.20 - - [30/Jul/2015:12:03:53 +0200] "GET /projects/project1/issues.csv?columns= HTTP/1.1" 200 1572 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36" 

Actions #4

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

It is not Redmine problem. Problem is on proxy or etc.

Actions

Also available in: Atom PDF