Opened 10 years ago

Closed 10 years ago

#7976 closed (duplicate)

error in urlfield form validation since r8809

Reported by: Florian Apolloner 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 10 years ago by Malcolm Tredinnick

Resolution: duplicate
Status: newclosed

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