diff options
author | Dan Winship <danw@gnome.org> | 2012-10-16 10:55:18 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2012-10-16 10:55:18 -0400 |
commit | 501d327ad2312a97fb585369f3537563b8d296fc (patch) | |
tree | b96a50fd07b277fda966876b3e5d53aac3eb95c8 /tests/ntlm-test.c | |
parent | 3d9c0aed72554d5c0ac6fd1b620588f1da115a6f (diff) | |
download | libsoup-501d327ad2312a97fb585369f3537563b8d296fc.tar.gz libsoup-501d327ad2312a97fb585369f3537563b8d296fc.tar.bz2 libsoup-501d327ad2312a97fb585369f3537563b8d296fc.zip |
soup-auth-manager-ntlm.c: don't include the default domain in the response
If the user didn't specify a domain in their username, then send ""
for the domain in the response, rather than echoing back the default
domain. This is apparently more compatible with what other apps do.
https://bugzilla.gnome.org/show_bug.cgi?id=624613
Diffstat (limited to 'tests/ntlm-test.c')
-rw-r--r-- | tests/ntlm-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ntlm-test.c b/tests/ntlm-test.c index 00222e87..e473ba67 100644 --- a/tests/ntlm-test.c +++ b/tests/ntlm-test.c @@ -24,7 +24,7 @@ typedef enum { #define NTLM_CHALLENGE "TlRMTVNTUAACAAAADAAMADAAAAABAoEAASNFZ4mrze8AAAAAAAAAAGIAYgA8AAAARABPAE0AQQBJAE4AAgAMAEQATwBNAEEASQBOAAEADABTAEUAUgBWAEUAUgAEABQAZABvAG0AYQBpAG4ALgBjAG8AbQADACIAcwBlAHIAdgBlAHIALgBkAG8AbQBhAGkAbgAuAGMAbwBtAAAAAAA=" -#define NTLM_RESPONSE_USER(response) ((response)[102] == 'E' ? NTLM_AUTHENTICATED_ALICE : NTLM_AUTHENTICATED_BOB) +#define NTLM_RESPONSE_USER(response) ((response)[86] == 'E' ? NTLM_AUTHENTICATED_ALICE : NTLM_AUTHENTICATED_BOB) static void clear_state (gpointer connections, GObject *ex_connection) |