• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ic-labs / django-icekit / 495 / 1
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 24 Nov 2016 12:23AM UTC
Files 229
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Nov 2016 12:17AM UTC coverage: 73.118% (+0.02%) from 73.1%
495.1

push

travis-ci

jmurty
Fix URL routing bug for preview URLs

Fix a bug where you could see a draft page at a preview URL of its
published copy even if that draft page's URL had become obsolete.

For example, given:
 - a published draft copy at /original-slug/
 - an updated draft copy at /updated-slug/

A privileged user could visit the preview URL /updated-slug/?edit to
see the draft content, which is fine.

But a privileged user could also visit the preview URL
/original-slug/?edit and would see the draft content at that URL,
despite the fact the draft's slug and URL no longer matched the slug
being used.

With this fix, only the draft's current URL can be used to view the
draft content.

This change includes unit tests that confirm the corrected behaviour.

3264 of 4464 relevant lines covered (73.12%)

0.73 hits per line

Source Files on job 495.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 495
  • Travis Job 495.1
  • f9fff6a0 on github
  • Prev Job for on develop (#494.1)
  • Next Job for on develop (#498.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc