IPv6 support

Bug #348385 reported by Harrison Conlin
2
Affects Status Importance Assigned to Milestone
web.py
Confirmed
Low
Anand Chitipothu

Bug Description

harrisony@neon:~$ python webtest.py fe80::a800:ff:fe59:ad1b
Traceback (most recent call last):
  File "webtest.py", line 12, in <module>
    if __name__ == "__main__": web.run(urls, globals(), )#web.profiler)
  File "/var/lib/python-support/python2.5/web/request.py", line 153, in run
    return wsgi.runwsgi(webapi.wsgifunc(webpyfunc(inp, fvars, autoreload), *middleware))
  File "/var/lib/python-support/python2.5/web/wsgi.py", line 54, in runwsgi
    return httpserver.runsimple(func, validip(listget(sys.argv, 1, '')))
  File "/var/lib/python-support/python2.5/web/net.py", line 55, in validip
    port = int(port)
ValueError: invalid literal for int() with base 10: ':a800:ff:fe59:ad1b'
harrisony@neon:~/ipaddykthx$

Also tried with [fe80::a800:ff:fe59:ad1b] (some apps need it done this way)

Changed in webpy:
milestone: none → 0.35
assignee: nobody → Anand Chitipothu (anandology)
status: New → Confirmed
importance: Undecided → Low
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.