[Bug 777222] souphttpsrc: redirect uri is never set

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 16 11:12:39 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=777222

Arnaud Vrac <rawoul at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #343438|reviewed                    |none
             status|                            |
 Attachment #343438|0                           |1
        is obsolete|                            |

--- Comment #3 from Arnaud Vrac <rawoul at gmail.com> ---
Created attachment 343543
  --> https://bugzilla.gnome.org/attachment.cgi?id=343543&action=edit
souphttpsrc: properly track redirections

You're right, I'm attaching a better version. The redirection_uri is now set
using soup_uri_to_string (soup_message_get_uri (msg), FALSE) instead of just
using the location header, which can be relative and needs to be transformed to
an absolute URI.

If automatic_redirect is not set, the request just fails as before.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list