Opened 16 years ago

Closed 16 years ago

#7976 closed (duplicate)

error in urlfield form validation since r8809

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

Description

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 by Malcolm Tredinnick, 16 years ago

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