Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
Django is tested with the earliest alpha versions. We noticed a behavior change in theurllib.parse.urljoin() that is used in a few places in Django, e.g. for staticfiles or build-in storages.
Python 3.14.0a1:
>>>fromurllib.parseimporturljoin>>>urljoin("/static/","admin/img/icon-addlink.svg")admin/img/icon-addlink.svg
Python 3.13 and earlier:
>>>fromurllib.parseimporturljoin>>>urljoin("/static/","admin/img/icon-addlink.svg")/static/admin/img/icon-addlink.svg
Is this an intentional change?
CPython versions tested on:
3.14
Operating systems tested on:
Linux