Fixed a string error in the webclient that could appear on some server setups. Added URL parsing to the webclient.
This commit is contained in:
parent
e7b3916aec
commit
7e898842b9
4 changed files with 13 additions and 8 deletions
|
|
@ -43,7 +43,7 @@ class LazyEncoder(simplejson.JSONEncoder):
|
|||
return force_unicode(obj)
|
||||
return super(LazyEncoder, self).default(obj)
|
||||
def jsonify(obj):
|
||||
return simplejson.dumps(obj, ensure_ascii=False, cls=LazyEncoder)
|
||||
return utils.to_str(simplejson.dumps(obj, ensure_ascii=False, cls=LazyEncoder))
|
||||
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue