~ubuntu-branches/ubuntu/utopic/resiprocate/utopic-updates

« back to all changes in this revision

Viewing changes to repro/ResponseContext.cxx

  • Committer: Package Import Robot
  • Author(s): Daniel Pocock
  • Date: 2014-04-10 10:04:36 UTC
  • mfrom: (1.1.25)
  • Revision ID: package-import@ubuntu.com-20140410100436-si0xvhvy0zfkju9f
Tags: 1.9.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
900
900
      if (request.exists(h_ProxyAuthorizations))
901
901
      {
902
902
         Auths &authHeaders = request.header(h_ProxyAuthorizations);
903
 
         Data realm = mRequestContext.getDigestRealm();
904
 
 
905
903
         for (Auths::iterator i = authHeaders.begin(); i != authHeaders.end(); )
906
904
         {
907
 
            if(i->exists(p_realm) && isEqualNoCase(i->param(p_realm), realm))
 
905
            if(i->exists(p_realm) && mRequestContext.getProxy().isMyDomain(i->param(p_realm)))
908
906
            {
909
907
               i = authHeaders.erase(i);
910
908
            }