Mimetypes modification not working

Bug #496701 reported by Brad Crittenden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Brad Crittenden

Bug Description

The fix for bug 490224 is not actually solving the problem. The customization to the mimetypes module is done at startup via a call in lib/site.py, and is shown to be called, but when the browser class is called to process the request the modifications are no longer present.

Gary suggested moving the initialization to the [scripts] stanza of buildout.cfg. An experiment showed that doing the initialization there results in the correct behavior.

Related branches

Brad Crittenden (bac)
Changed in launchpad-registry:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brad Crittenden (bac)
milestone: none → 3.1.12
Brad Crittenden (bac)
tags: added: current-rollout-blocker
tags: added: test
tags: removed: test
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
Brad Crittenden (bac)
Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.