Ticket #8 (closed defect: fixed)

Opened 18 months ago

Last modified 18 months ago

snarf trows exceptions when given invalid url's

Reported by: snore Owned by: wijnand
Priority: major Milestone: gozerbot version 0.8
Component: plugin Version: hg
Keywords: snarf Cc:

Description

<snore> !@ fifo.sh <gozerbot> EXCEPTION: thr.py:32 run | threading.py:422 run | snarf.py:144

handle_snarf | snarf.py:60 geturl_title | generic.py:591 geturl2 | urllib2.py:182 init | urllib.py:921 unwrap | exceptions.AttributeError?: 'bool' object has no attribute 'strip'

<snore> !@ http:/foo.bar <gozerbot> EXCEPTION: thr.py:32 run | threading.py:422 run | snarf.py:144

handle_snarf | snarf.py:60 geturl_title | generic.py:591 geturl2 | urllib2.py:182 init | urllib.py:921 unwrap | exceptions.AttributeError?: 'bool' object has no attribute 'strip'

Change History

Changed 18 months ago by wijnand

  • owner changed from bart to wijnand
  • status changed from new to assigned

Changed 18 months ago by wijnand

  • status changed from assigned to closed
  • resolution set to fixed

valid_url() returns a boolean which is not properly handled, a patch is pending

Changed 18 months ago by wijnand

  • status changed from closed to reopened
  • resolution fixed deleted

Bug still exists, also after upgrading.

Changed 18 months ago by wijnand

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in changeset:1693

Note: See TracTickets for help on using tickets.