Fix handling of xpconnect-wrapped requests.

git-svn-id: svn://10.0.0.236/branches/ZAP_20050610_BRANCH@188277 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alex%croczilla.com
2006-01-26 22:41:19 +00:00
parent 584b39778d
commit bb4d42ee09

View File

@@ -129,7 +129,7 @@ SipNonInviteRC.statefun(
// branch parameter, ...). At the moment we do a shallow clone,
// so any header modifications feed through to the original
// request. Maybe we should always clone deep.
this.currentRequest = this.request.clone(false);
this.currentRequest = this.request.clone(false).QueryInterface(Components.interfaces.zapISipRequest);
this.currentRequest.removeHeader(this.currentRequest.getTopHeader("Route"));
}
else