Part of lp.bugs.externalbugtracker
Function | mantis_login_hook | requests hook to automatically log into Mantis anonymously if needed. |
Class | MantisBugBatchParser | A class that parses the batch of bug data. |
requests hook to automatically log into Mantis anonymously if needed.
The ALSA bug tracker is the only tested Mantis installation that actually needs this. For ALSA bugs, the dance is like so:
- We request bug 3301 ('jack sensing problem'):
- Mantis redirects us to:
- .../alsa-bug/login_page.php?
return=%2Falsa-bug%2Fview.php%3Fid%3D3301
- We notice this, rewrite the query, and skip to login.php:
- .../alsa-bug/login.php?
return=%2Falsa-bug%2Fview.php%3Fid%3D3301& username=guest&password=guest
Mantis accepts our credentials then redirects us to the bug view page via a cookie test page (login_cookie_test.php)