seeddb invalid ip crashes check connectivity

Bug #1483145 reported by John-Magne Bredal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Undecided
John-Magne Bredal

Bug Description

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/lib/python2.7/dist-packages/nav/web/seeddb/page/netbox/edit.py", line 232, in get_address_info
    address, None, 0, socket.SOCK_STREAM)

  File "/usr/lib/python2.7/encodings/idna.py", line 164, in encode
    result.append(ToASCII(label))

  File "/usr/lib/python2.7/encodings/idna.py", line 73, in ToASCII
    raise UnicodeError("label empty or too long")

UnicodeError: label empty or too long

<WSGIRequest
path:/seeddb/netbox/get-address-info/,
GET:<QueryDict: {u'address': [u'158..36.232.61']}>

Changed in nav:
assignee: nobody → John-Magne Bredal (john-m-bredal)
milestone: none → 4.3.1
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: New → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.