Bug report
Bug description:
Django is tested with the earliest alpha versions. We noticed a behavior change in the urllib.parse.urljoin() that is used in a few places in Django, e.g. for staticfiles or build-in storages.
Python 3.14.0a1:
>>> from urllib.parse import urljoin >>> urljoin("/static/", "admin/img/icon-addlink.svg") admin/img/icon-addlink.svg
Python 3.13 and earlier:
>>> from urllib.parse import urljoin >>> 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