JSON objects are served as text/plain
Bug #621090 reported by
Andrea Corbellini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Benji York |
Bug Description
See for example: https:/
The Content-type is text/plain, instead of application/json. This is a problem because text/plain pages are indexed by Google, and therefore they show up in search results: https:/
Related branches
lp:~benji/launchpad/bug-621090
- Māris Fogels (community): Approve
-
Diff: 83 lines (+36/-2)4 files modifiedlib/lp/bugs/browser/bugsubscription.py (+1/-0)
lib/lp/bugs/browser/tests/test_bugsubscription_views.py (+24/-2)
lib/lp/code/browser/branch.py (+1/-0)
lib/lp/code/browser/tests/test_branch.py (+10/-0)
affects: | launchpad → launchpad-foundations |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Benji York (benji) |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
milestone: | none → 10.11 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r11896 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 11896>.