summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <olivier.crete@collabora.com>2015-11-17 22:30:54 -0500
committerSebastian Dröge <sebastian@centricular.com>2016-04-06 18:18:44 +0300
commit83ddde99903ed05e6a5af3f37cc27bdd0f1e8906 (patch)
tree3612ff312c2c89af04bccf9b814080574bc3b950
parent0dc58d5470374208ba2b4c46eb320999e1561577 (diff)
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.
-rw-r--r--gst/rtsp-server/rtsp-session-pool.c2
1 files changed, 1 insertions, 1 deletions
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