]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 272805 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 28 Jun 2010 17:37:21 +0000 (17:37 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 28 Jun 2010 17:37:21 +0000 (17:37 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r272805 | mmichelson | 2010-06-28 12:33:12 -0500 (Mon, 28 Jun 2010) | 11 lines

  Merged revisions 272804 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r272804 | mmichelson | 2010-06-28 12:31:40 -0500 (Mon, 28 Jun 2010) | 5 lines

    Decode URI in contact header of 302 response.

    ABE-2352
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@272806 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 71b00da613b07376f31ebdcd9ed597eaf9680522..d6e8bb6075df9aad29d518bd5323a16545e6b730 100644 (file)
@@ -17604,6 +17604,7 @@ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req)
                e = strchr(s, ';');     /* And username ; parameters? */
                if (e)
                        *e = '\0';      
+               ast_uri_decode(s);
                ast_debug(2, "Received 302 Redirect to extension '%s' (domain %s)\n", s, domain);
                if (p->owner) {
                        pbx_builtin_setvar_helper(p->owner, "SIPDOMAIN", domain);