Skip to content
Myr

Merge branch '2.8-maintenance'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parents 6f7e161, 8189d21 · Browse files · 2 files+8 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+8 added−1 removed

  • other:+8 added−1 removed

2 files+8 added−1 removed

modified:jinja2/utils.py+1 added-1 removed
293 unmodified lines
294 if not isinstance(obj, string_types):295 obj = text_type(obj)296 if isinstance(obj, text_type):297 obj = obj.encode(charset)298 safe = for_qs and b'' or b'/'298 safe = not for_qs and b'/' or b''299 rv = text_type(url_quote(obj, safe))300 if for_qs:301 rv = rv.replace('%20', '+')302 return rv
229 unmodified lines
modified:CHANGES+7 added
1Jinja2 Changelog2================34Version 2.8.15-------------67(unreleased bugfix release)89- Fixed the `for_qs` flag for `urlencode`.1011Version 2.812-----------13(codename Replacement, released on July 26th 2015)14
361 unmodified lines