Tornado Reverse_url Encodes 'special Characters' Like ? And &
I'm new to Tornado and I have a problem : href='{{ reverse_url('web-html','list-builds?bundle_identifier=' + app.bundle_identifier+ '&app_name=' + (app.name)) }}' outputs: //
Solution 1:
Use reverse_url to construct the base url, and then add query parameters afterwards. {{ reverse_url("web-html", "list-builds") + "?" + urlencode(dict(bundle_identifier=app.bundle_identifier)) }}
Post a Comment for "Tornado Reverse_url Encodes 'special Characters' Like ? And &"