Permalink
Please sign in to comment.
Browse files
[bug 849480] Simplify get_next_url.
- Improve test coverage of sumo.utils.get_next_url. - Simplify implementation, since we no longer need to implement is_safe_url ourselves. - Drop untested semantics/checks, like LOGIN_URL. - Early returns are nice and clean.
- Loading branch information...
Showing
with
36 additions
and 25 deletions.
- +33 −8 apps/sumo/tests/test__utils.py
- +3 −17 apps/sumo/utils.py
0 comments on commit
6fd4384