Code

Opened 7 years ago

Closed 7 years ago

#4852 closed (invalid)

UnicodeBranch: force_unicode lost POST data if will set DEFAULT_CHARSET != 'utf-8'

Reported by: Alexander <sasha@…> Owned by: adrian
Component: Core (Other) Version: unicode
Severity: Keywords: unicodebranch
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django/http/__init__.py (117)
-            self.appendlist(force_unicode(key, errors='replace'), force_unicode(value, errors='replace'))
+            self.appendlist(force_unicode(key, encoding=self.encoding, errors='replace'), force_unicode(value, encoding=self.encoding, errors='replace'))

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

This was already fixed on trunk in [5644]. Note that if you are still using the unicode branch checkout, you should switch to using trunk. The branch code will no longer be updated, since it has now been merged into trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.