From ee3a7b61ef43742cb614f3083b7b34de1339f638 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 17 Nov 2015 22:30:54 -0500 Subject: [PATCH] rtsp-session-pool: Avoid dollar sign ($) in session ids Live555 in VLC strips off dollar signs and then gets very confused, we don't loose too much entropy by just skipping it. --- gst/rtsp-server/rtsp-session-pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp-server/rtsp-session-pool.c b/gst/rtsp-server/rtsp-session-pool.c index ea1ff18..60aa30c 100644 --- a/gst/rtsp-server/rtsp-session-pool.c +++ b/gst/rtsp-server/rtsp-session-pool.c @@ -67,7 +67,7 @@ static const gchar session_id_charset[] = 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', '$', '-', '_', '.', '+' + '8', '9', '-', '_', '.', '+' /* '$' Live555 in VLC strips off $ chars */ }; enum -- 2.7.4