Ignore:
Timestamp:
6 Jul 2013, 09:48:48 (11 years ago)
Author:
uli
Message:

Make sure we also support urlencoded URLs as params.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.cas/trunk/waeup/cas/tests/test_server.py

    r10409 r10410  
    226226    def test_login_sso_with_service(self):
    227227        resp1 = self.app.get(
    228             'https://localhost/login?service=http://service.com/')
     228            'https://localhost/login?service=http%3A%2F%2Fservice.com%2F')
    229229        assert resp1.status == '200 OK'
    230230        assert 'cas-tgc' not in self.app.cookies
     
    239239        assert 'cas-tgc' in self.app.cookies
    240240        resp3 = self.app.get(
    241             'https://localhost/login?service=http://service.com/')
     241            'https://localhost/login?service=http%3A%2F%2Fservice.com%2F')
    242242        assert resp3.status == '303 See Other'
    243243        assert resp3.headers['Location'].startswith(
Note: See TracChangeset for help on using the changeset viewer.