Access denied on mantisbt2.8.0 with madexcept 4.0.18

delphi package - automated exception handling
Post Reply
gzkqsm04129
Posts: 4
Joined: Fri Nov 10, 2017 1:41 am

Access denied on mantisbt2.8.0 with madexcept 4.0.18

Post by gzkqsm04129 »

i create a user me/root and iam sure it can be used to login to the server.

reproduce:
1.switch to the madexcept setting, type server/user/password
2.click ok to close. //if not click ok and keep waitting, the auth wiil be fine. because this time it use not crypted password
3.reopen the setting page. wait for the auth test.


here is the config in madexcept:
20171110100757.png
20171110100757.png (18.61 KiB) Viewed 4652 times
the post response with Access denied, do i need set something else?
20171110100937.png
20171110100937.png (62.17 KiB) Viewed 4652 times
20171110100951.png
20171110100951.png (50.08 KiB) Viewed 4652 times
Last edited by gzkqsm04129 on Fri Nov 10, 2017 2:42 am, edited 2 times in total.
gzkqsm04129
Posts: 4
Joined: Fri Nov 10, 2017 1:41 am

Re: Access denied on mantisbt2.8.0 with madexcept 4.0.18

Post by gzkqsm04129 »

i think i found where the problem is:

Mantisbt use uncrypted password in post , while you encrypted it to post:

in the attachment , post with uncrypted password root is ok.
Attachments
20171110102557.png
20171110102557.png (95.83 KiB) Viewed 4649 times
gzkqsm04129
Posts: 4
Joined: Fri Nov 10, 2017 1:41 am

Re: Access denied on mantisbt2.8.0 with madexcept 4.0.18

Post by gzkqsm04129 »

the crashed app also post with crypted password.
20171110103953.png
20171110103953.png (59.03 KiB) Viewed 4649 times
gzkqsm04129
Posts: 4
Joined: Fri Nov 10, 2017 1:41 am

Re: Access denied on mantisbt2.8.0 with madexcept 4.0.18

Post by gzkqsm04129 »

speed fix for settings:

madExceptWizard.pas line:1524

SetEditTextW(WebPasswordEdit, BugTrackerPassword);

change to

SetEditTextW(WebPasswordEdit, DecryptPassword(bugtrackerPassword, bugtrackerAccount, httpServer));
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: Access denied on mantisbt2.8.0 with madexcept 4.0.18

Post by madshi »

Sorry for the late reply. I recently found a bug where the madExceptWizard corrupted passwords in some situations. Could you please try if the problem is fixed in this build?

http://madshi.net/madCollectionBeta.exe
Post Reply