Ticket #2336 (closed defect: wontfix)

Opened 5 years ago

Last modified 7 months ago

Potlatch encodes the username link in History in ISO-8859-1 which causes a 500 error in rails port

Reported by: avarab@… Owned by: richard@…
Priority: major Milestone:
Component: potlatch (flash editor) Version:
Keywords: Cc:

Description

When I go to History->Mail for a way I've ("Ævar Arnfjörð Bjarmason") have edited Potlatch will give out a link like:

/message/new/%C6var%20Arnfj%F6r%F0%20Bjarmason

That's ISO-8859-1 not UTF-8 encoded so rails will die with this error:

ActiveRecord::StatementInvalid in MessageController#new

PGError: ERROR:  invalid byte sequence for encoding "UTF8": 0xc676
HINT:  This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
: SELECT * FROM "users" WHERE ("users"."display_name" = E'�var Arnfj�r� Bjarmason')  LIMIT 1

Change History

comment:2 Changed 7 months ago by iandees

  • Status changed from new to closed
  • Resolution set to wontfix

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.