Merge c34354639c into 30942f12d3
This commit is contained in:
commit
ed01625395
|
|
@ -35,6 +35,8 @@ try: from io import StringIO
|
||||||
except: from cStringIO import StringIO
|
except: from cStringIO import StringIO
|
||||||
try: from http.server import SimpleHTTPRequestHandler
|
try: from http.server import SimpleHTTPRequestHandler
|
||||||
except: from SimpleHTTPServer import SimpleHTTPRequestHandler
|
except: from SimpleHTTPServer import SimpleHTTPRequestHandler
|
||||||
|
try: from urllib.parse import unquote
|
||||||
|
except: from urllib import unquote
|
||||||
|
|
||||||
# python 2.6 differences
|
# python 2.6 differences
|
||||||
try: from hashlib import sha1
|
try: from hashlib import sha1
|
||||||
|
|
@ -517,7 +519,7 @@ class WebSocketRequestHandler(SimpleHTTPRequestHandler):
|
||||||
self.log_message("%s: Version %s, base64: '%s'", client_addr,
|
self.log_message("%s: Version %s, base64: '%s'", client_addr,
|
||||||
self.version, self.base64)
|
self.version, self.base64)
|
||||||
if self.path != '/':
|
if self.path != '/':
|
||||||
self.log_message("%s: Path: '%s'", client_addr, self.path)
|
self.log_message("%s: Path: '%s'", client_addr, unquote(self.path))
|
||||||
|
|
||||||
if self.record:
|
if self.record:
|
||||||
# Record raw frame data as JavaScript array
|
# Record raw frame data as JavaScript array
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue