Opened 6 years ago

Closed 21 months ago

#2336 closed defect (wontfix)

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 (2)

comment:2 Changed 21 months ago by iandees

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

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.