After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588660 - Accept authentication challenge without realm
Accept authentication challenge without realm
Status: RESOLVED OBSOLETE
Product: libsoup
Classification: Core
Component: Misc
2.24.x
Other Linux
: Normal enhancement
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-07-15 14:04 UTC by Arnout Vandecappelle
Modified: 2018-09-21 16:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Accept authentication challenge without any parameters, not even realm (1.46 KB, patch)
2009-07-15 14:30 UTC, Arnout Vandecappelle
none Details | Review

Description Arnout Vandecappelle 2009-07-15 14:04:53 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.
Comment 1 Arnout Vandecappelle 2009-07-15 14:30:21 UTC
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.
Comment 2 Dan Winship 2015-02-10 11:57:50 UTC
[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]
Comment 3 GNOME Infrastructure Team 2018-09-21 16:02:50 UTC
-- 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.