Opened 11 years ago

Closed 7 years 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: avar Owned by: richard@…
Priority: major Milestone:
Component: potlatch (flash editor) Version:
Keywords: Cc:


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


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 7 years ago by iandees

Resolution: wontfix
Status: newclosed

Cleaning aging tickets.

Note: See TracTickets for help on using tickets.