From bb4d42ee09e18fe34602dd7b59cd4a8e5b0baef3 Mon Sep 17 00:00:00 2001 From: "alex%croczilla.com" Date: Thu, 26 Jan 2006 22:41:19 +0000 Subject: [PATCH] Fix handling of xpconnect-wrapped requests. git-svn-id: svn://10.0.0.236/branches/ZAP_20050610_BRANCH@188277 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/zap/sip/SipUARequestCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/zap/sip/SipUARequestCore.js b/mozilla/zap/sip/SipUARequestCore.js index 6689103af3c..b0f904b36dd 100644 --- a/mozilla/zap/sip/SipUARequestCore.js +++ b/mozilla/zap/sip/SipUARequestCore.js @@ -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