#35981 closed New feature (wontfix)
Add ftp:// protocol to list of protocols in shortcut function in "django/contrib/contenttypes/views.py"
Reported by: | Nikolay Fedorov | Owned by: | |
---|---|---|---|
Component: | contrib.contenttypes | Version: | 5.1 |
Severity: | Normal | Keywords: | view, shortcut, ftp |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Attachments (1)
Change History (4)
by , 12 days ago
Attachment: | Снимок экрана 2024-12-06 в 23.48.29.png added |
---|
comment:1 by , 12 days ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Type: | Bug → New feature |
comment:2 by , 11 days ago
Thank you for answer and sorry for the inconvenience, but it's not about browsers, but about the OS explorer, which opens the directory by link. In my project, I use ftp links as a way to access files stored on a different computer than the one running django. I am not able to use FilePathField for example.
comment:3 by , 11 days ago
Support for ftp was added to URLField
nearly 14 years ago in #15229. Given major browsers no longer support it, there could be an argument that URLField
should drop support for it also. The main difficulty would be a clean solution for backward-compatibility for those already using FTP URLs, see #25594.
Thanks for the suggestion. Given that this seems to be a very niche use case, as well as the fact that major browsers like Firefox and Chrome no longer support FTP, I don't see a compelling reason to make this change.