[Bug 758389] New: Using encoded special characters within username/password for a rtsp URL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 20 03:48:33 PST 2015


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

            Bug ID: 758389
           Summary: Using encoded special characters within
                    username/password for a rtsp URL
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: stuart.weaver at datapath.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 315962
  --> https://bugzilla.gnome.org/attachment.cgi?id=315962&action=edit
Add parsing of special encoded chars in URL

Hi All, 

Please find attached patch to enable the use of encoded special characters
within a RTSP URL as per RFC1738 Section 2.2

Currently:

a) rtsp://admin:@dm:n@<IP-ADDR>:8554/stream Doesn't work (correct)

b) rtsp://admin:%40dm%3An@<IP-ADDR>:8554/stream Doesn't work (incorrect)


The patch allows b) to be parsed correctly and connect successfully when
special characters are used in the username/password.

e.g. 
    rtsp://admin:%40dm%3An@<IP-ADDR>:8554/stream

now results in:
    username: admin
    password: @dm:n

Hopefully everything is correct, but let me know if any changes may be
required!

Regards,
Stuart

-- 
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