Opened 8 years ago

Closed 8 years ago

#7976 closed (duplicate)

error in urlfield form validation since r8809

Reported by: apollo13 Owned by: nobody
Component: Uncategorized Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


r8089 uses:

if value and not urlparse.urlsplit(value).path

although urlsplit returns a tuple not an object...
You might wanna use:

if value and not urlparse.urlsplit(value)[2]

Change History (1)

comment:1 Changed 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Dupe of #7345, which was the original ticket reopened with a note about this,

Note: See TracTickets for help on using tickets.
Back to Top