Code

Opened 5 years ago

Closed 2 years ago

#11581 closed Bug (wontfix)

URLField verify_exists blocks 401 respones

Reported by: rlaager@… Owned by: nobody
Component: Core (Other) Version: 1.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

URLField will not validate an URL that requires HTTP AUTH. 401 responses should be allowed.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 3 years ago by julien

  • Component changed from Uncategorized to Core (Other)
  • Severity set to Normal
  • Triage Stage changed from Design decision needed to Accepted
  • Type set to Bug

I'd argue that a 401 verifies that the url actually exists. By the way, the doc defines "does not exist" as "returns 404": http://docs.djangoproject.com/en/dev/ref/validators/#django.core.validators.URLValidator

comment:3 Changed 2 years ago by mlavin

  • Easy pickings unset
  • Resolution set to wontfix
  • Status changed from new to closed
  • UI/UX unset

verify_exists is set to be deprecated in 1.4 and removed in 1.5 related to security and performance issues. As such I'm going to close as wontfix.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.