rtspurl: Use gst_uri_join_strings() in gst_rtsp_url_get_request_uri_with_control...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 12 Aug 2022 10:16:50 +0000 (13:16 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 12 Aug 2022 18:52:29 +0000 (18:52 +0000)
commitedb0e47074ed7b84fe3f33858908392aaaa1818a
treed7887f051a3552a13afd04cb0caefa39edc454ca
parentd69616b6ba605651742457af79a6d6e6b24607fa
rtspurl: Use gst_uri_join_strings() in gst_rtsp_url_get_request_uri_with_control() instead of a hand-crafted, wrong version

For example the query string of the base must not be taken over to the
request URL unless there is no control path, and control paths can be
absolute and must not be considered relative if they start with a /.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/971

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2868>
subprojects/gst-plugins-base/gst-libs/gst/rtsp/gstrtspurl.c
subprojects/gst-plugins-base/tests/check/libs/rtsp.c