Http upload problem with authentication

delphi package - automated exception handling
Post Reply
JohnStevenson
Posts: 27
Joined: Mon Jun 14, 2004 12:45 pm

Http upload problem with authentication

Post by JohnStevenson »

Hi madshi

Having trouble with http upload using authentication. The server returns a 401 unauthorized message. Having sniffed the packets, I think it is in the password part of the "Authorization Basic .." header line.

Also, on a different subject, if the user minimizes the madExcept bug report, subsequent exceptions do not reshow it - it just stays on the taskbar (maybe this is as intended).

And also, using the new mes file redirection, I created "ProjectA.mes", saved it to "General.mes", and then put the General.mes path in ProjectA.mes. Then I created "ProjectB.mes" and put General.mes path in it, and it overwrote General.mes with ProjectB settings!! Sort of logical in retrospect, but somewhat unexpected especially as I lost a couple of those wonderful new Assistants.
JohnStevenson
Posts: 27
Joined: Mon Jun 14, 2004 12:45 pm

Post by JohnStevenson »

More information on authorization header:

User = johnstevenson
Password = test

First line is successful IE header, second is madExcept's:

Authorization: Basic am9obnN0ZXZlbnNvbjp0ZXN0
Authorization: Basic am9obnN0ZXZlbnNvbjq16y0=
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Thanks for the report. It's a bug in madExcept, I'll fix it in the next (beta) build and post here when it's ready for download.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Should be fixed in madExcept 3.0b beta 1.

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