Skip to content

Commit

Permalink
Make redirection_view/attempt_redirect fall back to nothing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Stollenwerk committed Jun 19, 2012
1 parent 57be29a commit 77f2dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -29,7 +29,7 @@

<tal:redirect define="redirection_view context/@@plone_redirector_view">

<tal:redirect define="redirect_success redirection_view/attempt_redirect" replace="nothing">
<tal:redirect define="redirect_success redirection_view/attempt_redirect|nothing" replace="nothing">
If the attempt succeeds, we won't see any more of this template
</tal:redirect>

Expand Down
3 changes: 3 additions & 0 deletions docs/CHANGES.txt
Expand Up @@ -12,6 +12,9 @@ Changelog
modifier.
[rossp]

- Make redirection_view/attempt_redirect fall back to nothing. If plone.app.redirector gets a URL with illegal characters, OOBTree.get raises a UnicodeDecodeError and the template fails.
[timo]


4.2rc2 (2012-05-31)
-------------------
Expand Down

0 comments on commit 77f2dca

Please sign in to comment.