[Bug 783787] New: gsturi: Fixed incorrect escaping of path in gst_uri_construct
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 14 14:16:40 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783787
Bug ID: 783787
Summary: gsturi: Fixed incorrect escaping of path in
gst_uri_construct
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: patcherwork at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
gst_uri_construct was handling the 'location' component of the uri as a generic
URI string to be encoded. This is incorrect since the string is actually a path
and based on RFC 3986, 'A path consists of a sequence of path segments
separated by a slash ("/") character.'. This patch changes the 'escape_string'
function to use 'escape_string_internal' with the "UNSAFE_PATH" option. A side
effect is that the escape_string function is unused so I have flagged it as
such so that gcc can compile gsturl with the -Werror=unused-function flag.
--
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