Bugs item #3016653, was opened at 2010-06-16 02:19 Message generated for change (Tracker Item Submitted) made by chanueting You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: chanueting (chanueting) Assigned to: Nobody/Anonymous (nobody) Summary: upload.py "Invalid input filename given. Try again."
Initial Comment: Could not check the address correctly if the filename is previously wrongly input.
I think the proper command on line 100 of function urlOK should be:
return self.url != len(url) and ('://' in self.url or os.path.exists(self.url))
instead of '' since '' is always False.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3016653...
pywikipedia-bugs@lists.wikimedia.org