{"title":"Django 2.0.10 release notes","version":"dev","locale":"en","docname":"releases/2.0.10","url":"/en/dev/releases/2.0.10/","canonical":"https://djangodocs.dev/en/dev/releases/2.0.10/","summary":"Django 2.0.10 fixes a security issue and several bugs in 2.0.9. An attacker could craft a malicious URL that could make spoofed content appear on the…","html":"<h1>Django 2.0.10 release notes<a class=\"heading-anchor\" href=\"#django-2-0-10-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>January 4, 2019</em></p>\n<p>Django 2.0.10 fixes a security issue and several bugs in 2.0.9.</p>\n<section id=\"cve-2019-3498-content-spoofing-possibility-in-the-default-404-page\">\n<h2>CVE-2019-3498: Content spoofing possibility in the default 404 page<a class=\"heading-anchor\" href=\"#cve-2019-3498-content-spoofing-possibility-in-the-default-404-page\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>An attacker could craft a malicious URL that could make spoofed content appear\non the default page generated by the <code class=\"docutils literal notranslate\">django.views.defaults.page_not_found()</code>\nview.</p>\n<p>The URL path is no longer displayed in the default 404 template and the\n<code class=\"docutils literal notranslate\">request_path</code> context variable is now quoted to fix the issue for custom\ntemplates that use the path.</p>\n<section id=\"bugfixes\">\n<h3>Bugfixes<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>Prevented repetitive calls to <code class=\"docutils literal notranslate\">geos_version_tuple()</code> in the <code class=\"docutils literal notranslate\">WKBWriter</code>\nclass in an attempt to fix a random crash involving <code class=\"docutils literal notranslate\">LooseVersion</code> since\nDjango 2.0.6 (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29959\">#29959</a>).</p></li>\n<li><p>Fixed a schema corruption issue on SQLite 3.26+. You might have to drop and\nrebuild your SQLite database if you applied a migration while using an older\nversion of Django with SQLite 3.26 or later (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29182\">#29182</a>).</p></li>\n<li><p>Prevented SQLite schema alterations while foreign key checks are enabled to\navoid the possibility of schema corruption (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/30023\">#30023</a>).</p></li>\n</ul>\n</section>\n</section>","rootId":"django-2-0-10-release-notes","toc":[{"title":"CVE-2019-3498: Content spoofing possibility in the default 404 page","anchor":"cve-2019-3498-content-spoofing-possibility-in-the-default-404-page","children":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/2.0.11","title":"Django 2.0.11 release notes","url":"/en/dev/releases/2.0.11/"},"next":{"docname":"releases/2.0.9","title":"Django 2.0.9 release notes","url":"/en/dev/releases/2.0.9/"},"formats":{"html":"/en/dev/releases/2.0.10/","markdown":"/en/dev/releases/2.0.10.md","json":"/en/dev/releases/2.0.10.json"},"source":"https://github.com/django/django/blob/main/docs/releases/2.0.10.txt","official":"https://docs.djangoproject.com/en/dev/releases/2.0.10/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0"],"inLocales":["en"]}