GNOME Bugzilla – Bug 588660
Accept authentication challenge without realm
Last modified: 2018-09-21 16:02:50 UTC
I have a stupid IP camera from Arecont that gives the following reply on an unauthenticated request: HTTP/1.0 401 Unauthorized\r\n WWW-Authenticate: Basic\r\n <EOF> Since the WWW-Authenticate challenge doesn't contain any parameters (not even the required realm parameter), libsoup doesn't accept it as a challenge. Patch follows.
Created attachment 138449 [details] [review] Accept authentication challenge without any parameters, not even realm This patch is not very good, because it leaves realm unset and doesn't call auth->update, which may skip some required initialization. It does work for basic authentication, though.
[mass-moving all "UNCONFIRMED" libsoup bugs to "NEW" after disabling the "UNCONFIRMED" status for this product now that bugzilla.gnome.org allows that. bugspam-libsoup-20150210]
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libsoup/issues/24.