Ignore:
Timestamp:
Apr 29, 2010 12:03:19 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1061 (Assertion when receiving authentication challenge with empty realm (thanks Andrey Kovalenko for the report)):

  • removed the assertion (allow responding to empty realm)
  • slight modification in Authenticate/WWW-Authenticate headers to allow printing challenge with empty realm, otherwise a malformed header will be printed if empty realm is given
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c

    r3148 r3149  
    394394 
    395395        /* Save realm. */ 
     396        /* Note: allow empty realm (http://trac.pjsip.org/repos/ticket/1061) 
    396397        pj_assert(cached_auth->realm.slen != 0); 
     398        */ 
    397399        if (cached_auth->realm.slen == 0) { 
    398400            pj_strdup(ses_pool, &cached_auth->realm,  
Note: See TracChangeset for help on using the changeset viewer.