webrtc, rtmp2: Warn if the user or password aren't escaped
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 31 Jul 2020 20:48:39 +0000 (02:18 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 3 Aug 2020 18:12:50 +0000 (18:12 +0000)
commitd4ca8820e7918b9ae1a16d776588da90eeb2e0a4
tree8197841949a1131d65f0808544fe31fe615249df
parent827afa206d8c9675f2a7af402396552c2ed1df09
webrtc, rtmp2: Warn if the user or password aren't escaped

If the user/pass aren't escaped, the userinfo will be ambiguous and we
won't know where to split. We will accidentally get it right if the :
belongs in the password.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1481>
ext/webrtc/gstwebrtcice.c
gst/rtmp2/gstrtmp2locationhandler.c