sailfin
  1. sailfin
  2. SAILFIN-51

SipServletMessage.removeHeader() problem with capitalization of header names

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: milestone 1
    • Component/s: sip_container
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Issuezilla Id:
      51

      Description

      SipServletMessage.removeHeader() appears to have problem with upper and lower
      cases in header names.

      For example, in the following code fragment of a B2BUA:

      doInvite(SipServletRequest req)
      {
      ...
      SipServletRequest req2 = sipFactory.createRequest(req1, false);
      req2.addHeader("X-SailFin", "some data");
      req2.removeHeader("X-SailFin");
      req2.send();
      ...
      }

      The request sent out contains a "X-Sailfin" header. Note the "Fin" is now "fin".

        Activity

        Hide
        ehsroha added a comment -

        evalution: minor correction

        Show
        ehsroha added a comment - evalution: minor correction
        Hide
        qmaghes added a comment -

        Fixed in trunk. Using formatted headername key when doing remove from header
        map.

        Show
        qmaghes added a comment - Fixed in trunk. Using formatted headername key when doing remove from header map.

          People

          • Assignee:
            ehsroha
            Reporter:
            echeung
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: