14718: Changes the way remote param is packed into return_to.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Mon, 28 Jan 2019 20:12:33 +0000 (17:12 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Mon, 28 Jan 2019 20:12:33 +0000 (17:12 -0300)
commit0d1836a8d4d5a0c0802881c2878a35f611e09e1f
tree9ac98603760dfd5e70e922923a0a0bffa2918479
parent4bb449eb541e7bc22dfb09c31451d2258f189495
14718: Changes the way remote param is packed into return_to.

Also:
* Escapes the remote param for security reasons.
* Adds comments.
* Updates tests.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>
services/api/app/controllers/user_sessions_controller.rb
services/api/test/integration/user_sessions_test.rb