faludi / xig

XBee Internet Gateway for Digi ConnectPort X2(de)/4/8, OSX, Windows and Linux
1 stars 0 forks source link

Username Password bug #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Username and passwords inline with URL cause an exception to be thrown:

This input:
http://username:password@host.domain.com

Causes this output in the log:
Gives this result:
RECV: 50 bytes from ('[0001]!', 0, 0, 0)
RECV: 2 bytes from ('[0001]!', 0, 0, 0)
Traceback (most recent call last):
  File "xig.py", line 205, in main
    ret = xig.go()
  File "xig.py", line 171, in go
    self.__io_kernel.ioLoop(timeout=None)
  File "/Users/jordanh/eclipse_workspaces/esp/xig/src/library/xig_io_kernel.py", line 258, in ioLoop
  File "/Users/jordanh/eclipse_workspaces/esp/xig/src/sessions/http.py", line 165, in handleSessionCommand
  File "/Users/jordanh/eclipse_workspaces/esp/xig/src/sessions/http.py", line 74, in __init__
  File "/Users/jordanh/eclipse_workspaces/esp/xig/src/sessions/http.py", line 102, in __connect
NameError: global name 'header' is not defined
Traceback (most recent call last):
  File "WEB/python/xig.py", line 216, in ?
    ret = main()
  File "WEB/python/xig.py", line 212, in main
    sys.exit(ret)
UnboundLocalError: local variable 'ret' referenced before assignment

Original issue reported on code.google.com by robfal...@gmail.com on 10 Sep 2011 at 6:34

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r85.

Original comment by Jordan.H...@gmail.com on 12 Sep 2011 at 5:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 286383c5a403.

Original comment by Jordan.H...@gmail.com on 29 Mar 2012 at 12:53