Révision 2f55d335
Ajouté par Jérôme Schneider il y a plus de 9 ans
mandaye/auth/authform.py | ||
---|---|---|
181 | 181 |
action = auth_form.action |
182 | 182 |
|
183 | 183 |
if not "://" in action: |
184 |
action = re.sub(r'(.+)/.+$', r'\1/', self.login_url) + action
|
|
184 |
action = re.sub(r'(.+)/.*(\?.+)$', r'\1/%s\2' % action, self.login_url)
|
|
185 | 185 |
|
186 | 186 |
cookies = login.cookies |
187 | 187 |
headers = HTTPHeader() |
Formats disponibles : Unified diff
authform: improve relative replay url (add get management)