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

ic-labs / django-icekit / 495
74%

Build:
DEFAULT BRANCH: develop
Ran 24 Nov 2016 12:23AM UTC
Jobs 1
Files 229
Run time 12s
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

pending completion
495

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

Jobs
ID Job ID Ran Files Coverage
1 495.1 24 Nov 2016 12:23AM UTC 0
73.12
Travis Job 495.1
Source Files on build 495
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #495
  • f9fff6a0 on github
  • Prev Build on develop (#494)
  • Next Build on develop (#498)
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