forked from falconry/falcon
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update bugfix message to explain change. remove unnecessary comment. closes falconry#1872
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
:attr:`falcon.Uri.encode` and :attr:`falcon.Uri.encode_value` now escape all | ||
percent characters by default even if it appears they have already been escaped. | ||
The ``check_is_escaped`` flag has been added to allow the option of retaining the previous | ||
behavior of ignoring strings that look like they've already been escaped. | ||
The :attr:`falcon.Uri.encode_check_escaped` and :attr:`falcon.Uri.encode_value_check_escaped` | ||
methods have been added to give the option of retaining the previous behavior where needed. | ||
These new methods have been applied to the :attr:`falcon.Response.location`, | ||
:attr:`falcon.Response.content_location`, :attr:`falcon.Response.append_link` | ||
attrs and methods to retain previous behavior. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters