Commit dcc8360c authored by Harald Alvestrand's avatar Harald Alvestrand Committed by Commit Bot

Add missing number 3 to permitted RID characters.

Bug: chromium:1049995
Change-Id: Iac13d70fb24f9dc5f36937d625ce33bd7152b092
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144079
Auto-Submit: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758177}
parent bed36bc6
......@@ -2288,7 +2288,7 @@ RTCRtpTransceiver* RTCPeerConnection::addTransceiver(
}
// Allowed characters: a-z 0-9 _ and -
if (encoding.rid.find_first_not_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLM"
"NOPQRSTUVWXYZ012456789-_") !=
"NOPQRSTUVWXYZ0123456789-_") !=
std::string::npos) {
exception_state.ThrowTypeError("Illegal character in rid");
return nullptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment