Ave cd22745e6b Sanitize the URL before redirecting (#1260)
* URL Quote the URL before redirecting

* Use safe url instead of unsafe one

* Fix query params

* fix build

* Whitelist all reserved characters from rfc3986

* Add tests for redirect url sanitizing

* Remove check for resulting URL on header injection test

The thing the tests are testing for can be implemented in other
ways that don't redirect to 100% the same address, but they'll all have
to match the remaining parts of the test to succeed.
2018-07-12 21:31:33 -07:00
..
2017-03-03 11:44:50 -05:00
2017-09-05 10:58:48 +02:00
2018-07-11 01:44:21 -07:00
2017-02-14 14:51:20 -05:00
2017-02-14 14:51:20 -05:00
2018-03-15 22:03:36 -07:00
2018-03-15 22:06:58 -07:00
2018-03-15 21:28:52 -07:00
2018-06-09 01:16:17 -07:00
2018-03-15 21:28:52 -07:00
2018-03-15 21:28:52 -07:00
2018-03-15 21:28:52 -07:00
2017-02-14 14:51:20 -05:00
2017-02-20 16:52:36 -08:00
2018-07-03 22:07:08 -07:00