Scrub gstreamer error strings for url query strings.
Media URLs may include tokens or other auth info.
This commit is contained in:
parent
5dd6d6725a
commit
5983ecfac0
|
@ -685,7 +685,10 @@ void GstEnginePipeline::ErrorMessageReceived(GstMessage* msg) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
qLog(Error) << id() << debugstr;
|
for (const QString& l : debugstr.split("\n")) {
|
||||||
|
// Messages may contain URLs with auth info in query strings.
|
||||||
|
qLog(Error) << id() << Utilities::ScrubUrlQueries(l);
|
||||||
|
}
|
||||||
|
|
||||||
emit Error(id(), message, domain, code);
|
emit Error(id(), message, domain, code);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue